develooper Front page | perl.fwp | Postings from January 2012

[perl #107368] perl -e '#!perl -s' is weird

From:
Father Chrysostomos via RT
Date:
January 4, 2012 08:08
Subject:
[perl #107368] perl -e '#!perl -s' is weird
Message ID:
rt-3.6.HEAD-14510-1325662859-1237.107368-15-0@perl.org
On Sun Jan 01 13:12:30 2012, sprout wrote:
> I wonder if I could write a quine with this. :-)

perl -le '#!perl -s' -e'$a=1;print+"perl -le \x27#!perl -s\x27
-e\x27\$a=${q\e$a\}\x27"'

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=107368



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About