in reply to Re: Is there a non-empty error quine in perl?
in thread Is there a non-empty error quine in perl?

Nice trick! Congratulations. And it still works if I modify it to run from the stdin from perl.

CORE:: is not a keyword at - line 1.
This works with older versions of perl too, including perl 5.12.3.

Replies are listed 'Best First'.
Re^3: Is there a non-empty error quine in perl?
by MidLifeXis (Monsignor) on Mar 10, 2014 at 13:56 UTC

    And on:

    $ /bin/perl -v This is perl, v5.8.8 built for msys

    --MidLifeXis

Re^3: Is there a non-empty error quine in perl?
by mr_mischief (Monsignor) on Apr 03, 2014 at 20:20 UTC
    and on
    # perl -e 'print "$^V\n"' v5.10.1