Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
Being bored at work makes me think about silly things, and I just wanted to play with this idea a little.

Yes, I'm using a few of the same tricks, and I'm not taking the obfuscation to a higher degree, but I got tired of toying with this, so here it is:

#!/usr/bin/perl $_=q| and za::PERL{INeD _,$0;@I=<_>;$I=$I[-1]}and rnaaiA::aIviet{@I=aN +lit//,$I;Z "\n$I[3]\l$I[-2]$I[-6]$I[21]$I[-5]"}and iD::aAya{Z"$I[-9]$I[4]\l$I[-3] +t$I[-10]". "$I[2]\l$I[-13] "}and drejDev::dnt{Z TAN{T/Y/i&&"\L\n$_\E"}TAN{$_=~a/: +://&&$_}@A }and Y::z{@A=TAN{leDgth==6?$_:""}keya%{*::}}and Tight::yIn{Z" zer,"}|; +y{aIDNnTd} {sonpumb} ; s(Z){print}g and s{z}[hack]g and chomp;s|Y|perl|g and y[A] +{a}; eval; you might hack perl, but brejnev says in soviet russia PERL hacks YOU
I suppose I should hide this bit in case you don't want a spoiler:
Yes, I found out later that it's spelled Brezhnev, so no need to correct me there. But when you unravel it, you'll see why I can't change the spelling :)

Enjoy!


In reply to not very obfuscated, some of the same tricks by chargrill

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 meditating upon the Monastery: (5)
As of 2024-04-23 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found