in reply to Re^4: odd behavior with DATA section
in thread odd behavior with DATA section

I get either behaviour depending on if I put a new line on the last line or not. I'm using 5.8.6


Perl is Huffman encoded by design.

Replies are listed 'Best First'.
Re^6: odd behavior with DATA section
by ikegami (Patriarch) on Jul 23, 2005 at 07:00 UTC

    I've only ran it with a newline. You seem to be missing my point:

    A trailing new line on the "last" line will NOT NECESSARILY generate a last empty line

    It depends on your OS and/or version of Perl.