in reply to Re^2: Tiny Perl puzzle
in thread Tiny Perl puzzle

I think B::Deparse gets it wrong -- as it sometimes does -- when you add -p:

This is confirmed by the more low-level output of B::Concise:


Dave

Replies are listed 'Best First'.
Re^4: Tiny Perl puzzle
by Anonymous Monk on Jun 07, 2014 at 07:25 UTC
Re^4: Tiny Perl puzzle
by LanX (Saint) on Jun 07, 2014 at 15:38 UTC

      I can't test ATM

      You gotta stop saying that :)

      Contrary to AnoMonk I doubt space matters.

      Sure it does, it matters how Deparse places the space, because it matters to perl

      That is exactly as deparsed with -p, behaves exactly like the original
        > Sure it does, it matters how Deparse places the space, because it matters to perl

        it depends! ;-)

        update

        ALSO:

        > perl open ONE, ">", "/tmp/tst"; print (ONE (TWO)); # filehandle __END__ > cat /tmp/tst TWO >

        BUT:

        Cheers Rolf

        (addicted to the Perl Programming Language)