On 1/7/2004 2:41 AM, Uri Guttman wrote:
> anyone ever see this before?
>
> Useless use of a variable in void context at /usr/local/lib/perl5/5.6.1/ExtUtils/Install.pm line 267.
>
> the line of code is:
>
> local *SRC, *CMD;
>
> which is DUMB DUMB DUMB!
>
> but upgrading that module fixed it.
Yep, seen this just recently when I forgot parens in a variable decleration:
C:\working>perl -we "my $a,$b"
Useless use of a variable in void context at -e line 1.
Name "main::b" used only once: possible typo at -e line 1.
C:\working>perl -we "my ($a,$b)"
C:\working>
Regards,
Randy.
|