Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Just Another Perl Hacker,

by choroba (Cardinal)
on Dec 21, 2018 at 15:43 UTC ( [id://1227570]=obfuscated: print w/replies, xml ) Need Help??

Having fun with references.
print map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[ +{}],[sub{}^*ARGV,3];

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re: Just Another Perl Hacker,
by davido (Cardinal) on Dec 22, 2018 at 01:07 UTC

    This term is quite clever:

    \* || {}

    Take a reference to the typeglob *| (obtaining something like GLOB(0x23d84f0)) and OR it with the stringified value of {} (which is something like HASH(0x217f328). The strings "GLOB" and "HASH" when ORed together as "GLOB"|"HASH" evaluate to "OM_J". The character at index 3 is J.

    The whitespace obfuscated well because it looks more intuitive than the actual syntax. Here is how it parses:

    \*| | {}


Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-06-23 13:39 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.