![]() |
|
Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Invalid argumentby Andrew_Levenson (Hermit) |
on Dec 01, 2006 at 20:04 UTC ( #587284=perlquestion: print w/replies, xml ) | Need Help?? |
Andrew_Levenson has asked for the wisdom of the Perl Monks concerning the following question:
I have a certain script that I have been working with for a while now, watching it evolve as I learn new things. It really doesn't do anything important except for helping me understand new concepts as I implement them. Today I learned of the ?: operator, and decided to implement it. Now, when I introduce the input and output files and command line arguments, this works perfectly. However, if I don't, and include them as input, it tells me that the argument is invalid and contains a newline. Can anyone tell me why the newline character is not being removed like it has in all four preceding iterations of this script? (Only the input lines have been changed.)
Thanks in advanced!
Back to
Seekers of Perl Wisdom
|
|