Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
This runs under Linux, using an obscure trick which I've never seen used before.

Using -MO=Deparse won't really help.  Anyone interested in providing an analysis?

#!/usr/bin/perl -w %ENV = qw( bin 42 perl 52 my 33 opt 26 lib 32 site 25 tmp 34 usr 22 var 62 local 36 other 44 misc 12 temp 45 ); @INC = ( "./opt/usr/usr/tmp/opt", "/perl/lib/usr/usr/72", "/perl/lib/usr/tmp/bin", "/usr/misc/lib/usr/var/lib", "/my/54/other/bin", "./tmp/lib/usr/tmp/opt/misc/usr/opt/site", "/usr/usr/23/misc/usr/usr/lib/lib/usr/usr/var/usr", "/opt/usr/13/usr/usr/lib/local/24/temp", "/usr/usr/usr/usr/usr/usr/lib/lib/usr/usr/var/usr", "/usr/usr/usr/usr/tmp/bin/lib/usr/opt/usr/usr", "./site/local/site/lib", "/usr/usr/usr/var/usr/usr", "/site/tmp/temp/lib", "/usr/var/var/usr/usr", "/usr/66/usr/usr/site", "./usr/usr/tmp/other/lib/usr/opt/site", "/usr/usr/usr/usr/usr/usr/usr/misc/lib/var/usr", "/opt/opt/usr/64/other/temp", "/usr/usr/usr/usr/usr/usr/usr/misc/lib/var/usr/lib/usr/usr", "/usr/usr/usr/usr/tmp/lib/usr/opt/usr/usr/lib/usr/usr", ); map { $, = $_; map { $, =~ s/$_/$ENV{$_}/g } (keys %ENV); $_ = $,} @I +NC; map { s,^\.,$/, } @INC; map { $; = 101+int($_/5)+($_>14); map { s,/(\d)(\d),' 'x$1."\e[$;m".'#'x$2."\e[m",eg } $INC[$_] } (0..1 +9); @INC = ((join $/,@INC),$/); eval { require "JAPH" }; die

@ARGV=split//,"/:L"; map{print substr crypt($_,ord pop),2,3}qw"PerlyouC READPIPE provides"

In reply to Dying for a Good Japh by liverpole

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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 23:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found