No such thing as a small change | |
PerlMonks |
Re: Printing all lines of a file using a perl one linerby Util (Priest) |
on Sep 28, 2011 at 21:56 UTC ( [id://928435]=note: print w/replies, xml ) | Need Help?? |
Add the -w flag to turn on warnings (-wne instead of -ne). Update: I see that I misread your post, because you did not put your code into < code >...</ code > tags. This is making $a[1], etc display incorrectly in our browsers. Update2: I give you points for trying for code tags, even though it went awry. The "preview" button is your friend! (and I need to read more slowly )
In Section
Seekers of Perl Wisdom
|
|