Anybody care to de-obfuscate?Sure, I can give it a shot. :)
for(ref bless[],just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
This exploits the old perl 4 syntax for packages. just'another'perl'hacker is the same thing as just::another::perl::hacker, so what you are doing is blessing an arrayref (which could be just about anything legal, it doesn't matter) into an object that is returned to:
for(ref bless[],just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
Which promptly returns the name or type of the object, in this case "just::another::perl::hacker".
The for "loop", is just a nice way to put something into $_ and do stuff on it. It could just as well be:
Then, a substitution takes out all the '::' and replaces it with $", which by default contains a space:$_ = ref bless[],just'another'perl'hacker; s-:+-$"-g&&print$_.$/
for(ref bless[],just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
Is the same as
And, since this returns true (it matches), the next statement after '&&' is also executed, and prints what we have left plus a line ending (the content of $/).s/:+/ /g
Nice. That will work as your signature. :)
In reply to Re: bless this japh
by Dog and Pony
in thread bless this japh
by domm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |