malaga has asked for the wisdom of the Perl Monks concerning the following question:
my $lowercase = (ucfirst(lc$infodir1)); if $infodir1 = $lowercase { #this is line 55 print $lowercase; } here's the error message: syntax error at d:\209.35.163.243\cgi-bin\getprods.pl line 55, near "i +f $infodir1 " Global symbol "%lowercase" requires explicit package name at d:\209.35 +.163.243\cgi-bin\getprods.pl line 55.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: case & sleep_deprivation=$crap
by Dog and Pony (Priest) on Apr 07, 2002 at 22:22 UTC | |
|
You're missing () around $infodir
by RMGir (Prior) on Apr 07, 2002 at 22:24 UTC | |
|
Re: case & sleep_deprivation=$crap
by I0 (Priest) on Apr 07, 2002 at 22:25 UTC | |
|
Re: case & sleep_deprivation=$crap
by Sweeper (Pilgrim) on Apr 08, 2002 at 05:41 UTC | |
|
Re: case & sleep_deprivation=$crap
by malaga (Pilgrim) on Apr 07, 2002 at 22:35 UTC |