in reply to Re: Perl to executable conversion error
in thread Perl to executable conversion error
Why is the chomp needed? Remember, open does magical things...
My test execution of the code as proffered (wrapped with use strict, use warnings, and a print @Lines at the end) yielded no errors.
Now, there are security implications in using raw input as a filename in a two-argument open, but the code as presented does work.
|
|---|