[27810] in Perl-Users-Digest
Perl-Users Digest, Issue: 9174 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Wed Apr 19 11:05:36 2006
Date: Wed, 19 Apr 2006 08:05:04 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Wed, 19 Apr 2006 Volume: 10 Number: 9174
Today's topics:
Re: Finding unused variables in a Perl script (Anno Siegel)
Re: Term::ReadKey on Win? 5.005 vs 5.8.8? <rvtol+news@isolution.nl>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: 19 Apr 2006 13:27:23 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: Finding unused variables in a Perl script
Message-Id: <4ams5rFu40spU2@news.dfncis.de>
Dr.Ruud <rvtol+"`ls -al .`"@isolution.nl> wrote in comp.lang.perl.misc:
> Matt Garrish schreef:
>
> > [find all declared but unused variables]
> > can't be done, to my knowledge anyway.
>
> It may be possible for a source that doesn't use eval.
That's a small set. Every program that "use"s something uses eval.
Anno
--
If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
------------------------------
Date: Wed, 19 Apr 2006 16:05:52 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
Subject: Re: Term::ReadKey on Win? 5.005 vs 5.8.8?
Message-Id: <e25nfr.1a0.1@news.isolution.nl>
Ilya Zakharevich schreef:
> perl -MTerm::ReadKey
> -wle "open $in, '+< CONIN$' or die;
> ReadMode 4, $in;
> $|=1;
> print ord while defined($_=getc)"
I had to change that to
perl -MTerm::ReadKey
-wle 'open ($in, "+< /dev/tty") or die $!;
ReadMode 4, $in;
$|=1; print ord while defined($_=getc) and 3!=ord;
ReadMode 0, $in'
to make it do anything, and to be able to orderly stop it.
(perl, v5.8.6 built for i386-freebsd-64int)
--
Affijn, Ruud
"Gewoon is een tijger."
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 9174
***************************************