Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

BEGIN X

by Discipulus (Canon)
on Jan 31, 2019 at 21:24 UTC ( [id://1229208]=obfuscated: print w/replies, xml ) Need Help??

BEGIN{print','; BEGIN{print'r'; BEGIN{print'e'; BEGIN{print'k'; BEGIN{print'c'; BEGIN{print'a'; BEGIN{print'H'; BEGIN{print' '; BEGIN{print'l'; BEGIN{print'r'; BEGIN{print'e'; BEGIN{print'P'; BEGIN{print' ';BEGIN{print'r'; BEGIN{print'e'; BEGIN{print'h'; BEGIN{print't'; BEGIN{print'o'; BEGIN{print'n'; BEGIN{print'A'; BEGIN{print' '; BEGIN{print't'; BEGIN{print's'; BEGIN{print'u'; BEGIN{print'J'; BEGIN{print''; }}}}}}}}}}}}}; }}}}}}}}}}}}};

Inspired by Assignment and use statement in the same BEGIN block and

perl -e "$}.=qq(BEGIN{print qq($_);)for(q(,rekcaH lreP rehtonA tsuJ)=~/./g);$}.=q(})x25;eval$}"

A little modification after having seen it under the morning light.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re: BEGIN X
by shmem (Chancellor) on Feb 01, 2019 at 14:39 UTC

    No BEGIN without END ;-)

    BEGIN { print "r"; END { print " "; END { print "P"; BEGIN { print "e"; BEGIN { print "h"; END { print "e"; END { print "r"; BEGIN { print "t"; BEGIN { print "o"; END { print "l"; END { print " "; BEGIN { print "n"; BEGIN { print "a"; END { print "H"; END { print "a"; BEGIN { print " "; BEGIN { print "t"; END { print "c"; END { print "k"; BEGIN { print "s"; BEGIN { print "u"; END { print "e"; END { print "r"; BEGIN { print "J"; BEGIN { print ""; END { print ","; }}}}}}}}}}}}} }}}}}}}}}}}}}
    perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: obfuscated [id://1229208]
Front-paged by haukex
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-24 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found