|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re^2: adding a variable definition to executionby akho (Hermit) |
| on May 21, 2009 at 23:49 UTC ( #765570=note: print w/ replies, xml ) | Need Help?? |
|
You actually have to replace <STDIN> with a file handle, not a filename. I believe the original poster replaced the input with a hard-coded value; that is, wrote $basename = 'filename'. A filehandle would be an error, probably.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||