Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
waaaaay to complicated for me. the best analysis i can do is:
# # use strict # use strict; # # the japh has one sub routine which it calls once # sub p{ # # First we set up $_. nothing dodgy here except it contains whitespace # $_="\c];\a\3SE\$\5!.\f)Ut4)\aHI\r\5\f%)"; # # here's were the nasty delimiters start # # this is actually "y| \n||d;" which removes all spaces and carriage # returns from $_ # # $_ contains the following chars: (decimal) # 29 59 7 3 83 69 36 5 33 46 12 41 85 116 52 41 7 72 73 13 5 12 37 41 # y< \n>++d; # # do some tricky regexp stuff which actually evaluates to # # @_ = /(.{14})(.{10})/; # @_=/.+?(?=\d|$)/gx; # # set $= to 0 # $==$|; # # transliterate $_ so that it equals: (decimal) # 29 59 7 3 83 69 14 5 33 24 12 19 85 116 52 19 7 72 73 13 5 12 15 19 # y,"-/ ,\f- ,; # # assign the string in $_ to $; # $;=$_; # # a transliteraion i can't decode makes $_ equal to: (decimal) # 60 58 47 42 62 58 # y{;E!\a4.;@\0-z} ^</*:>nb^d; # # some semicolons # ;; # # remove non alpha numerics from @_ # @_ = ('SEUt','4HI'); # map {s}\W # }}xg;}@_; # # do a scary map on @_,'' to get chr(83),chr(52),chr(0) # @_=map{ chr( ($==@{[/./g]}) ? ($-=++$=**3,$%+=$-)[0] : $%/2 ); }@_,''; # # replace pairs of characters in $_ with perl expressions and evaluate + them # @_ = qw|W S R V Q U T P j n o k l h i m t p q u r v w s|; # map{ s[(.)]~@_=map{$_^$',$_^$+}@_~e; }/../g; # # go through each char of $;, doing a binary XOR with the string at $_ # # $\ ends up equal to 'Just another Perl hackerJust another Perl hacke +r' # $;=~s{.}%map{$_^=$&}@_;$\.=shift;%ge; # # slap a line ending on $\ # $\.=$/; # # print what followed the last regexp match # print $'; # # end the sub # } # # call it # p;

In reply to Re: Cursed Map by iamcal
in thread Cursed Map by kilinrax

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-03-29 11:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found