|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re^3: rename duplicate databy monsoon (Monk) |
| on Jun 22, 2012 at 15:01 UTC ( #977857=note: print w/ replies, xml ) | Need Help?? |
|
It would help if your code was properly formatted. Anyway, to use 'say' you need to
for "my $debug" declaration you probably meant
'ids' need to be declared as a hash, not a scalar
while loop needs to read from the file handle that you opened instead of checking the truth value of $filename variable which causes infinite loop if $filename is anything other than 0 or empty string
'print say' at the end doesn't really do any good
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||