Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: odd behavior with DATA sectionby TilRMan (Friar) |
on Jul 23, 2005 at 06:52 UTC ( [id://477435]=note: print w/replies, xml ) | Need Help?? |
Gather more data about what perl is doing. Print out the value of $line, paying close attention to the line ending. Save the return value of chomp $line, print it, and see if it is what you expect.
In Section
Seekers of Perl Wisdom
|
|