in reply to Re^8: list reversal closure
in thread list reversal closure

I pointed out that this was not the case with the OP's code.

Actually, you pointed out that this was not the case with -l. There was no mention of the OP using -l, and I hadn't noticed 'til now. That changes everything.

Replies are listed 'Best First'.
Re^10: list reversal closure
by apotheon (Deacon) on Aug 21, 2006 at 19:32 UTC

    Actually, he said "Notice the -l on his shebang line," in his first response to you. You probably just overlooked the use of the word "his" in that.

    You did bring up an interesting point, perhaps accidentally, though: Should my program linebreak between list elements, or after the list output?

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin