Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
You open the script itself (location stored in $0) on filehandle F and assign the first two lines to $_.

Then you start a substitution operating on $_, with ; as a delimiter, so de-obfuscated (using a | as delimiter) it looks like:

$_=~s|^.*?\/(..).*?i(.).(.*?)\s.*?\ss(.)(.).(.).*|J$1$4 a$2o$4he$5 $3 +ha$6ke$5!|;
You basically scan the first two lines for some stuff:
  1. The two chars following the first slash go into $1 ('us')
    #!/usr/bin/perl -w
    use strict;
  2. Then you scan for the next 'i' and save the following char in $2 ('n')
    #!/usr/bin/perl -w
    use strict;
  3. You skip the next char and save everything up to the next space in $3 ('perl')
    #!/usr/bin/perl -w
    use strict;
  4. You skip to the next space followed by 's' and save the next char in $4 ('t')
    #!/usr/bin/perl -w
    use strict;
  5. The next char goes into $5 ('r')
    #!/usr/bin/perl -w
    use strict;
  6. Then skip one and save the last in $6 ('c')
    #!/usr/bin/perl -w
    use strict;
and then print the new value of $_.

But I still don't know what the c in cjaph stands for ...

In reply to Re: cjaph - SOLUTION by domm
in thread cjaph by Darkling

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?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (1)
As of 2023-09-28 22:16 GMT
Find Nodes?
    Voting Booth?

    No recent polls found