Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

(dissection) Re: Seems straightforward, but...

by japhy (Canon)
on Jul 06, 2001 at 01:38 UTC ( #94296=note: print w/ replies, xml ) Need Help??

in reply to Seems straightforward, but...

The subject is enough of a warning.

$b = "Just another Perl hacker.\nd"; $c = uc join '', (split//,$b)[5,1,3,7,16,7,19,26]; # $c is now "AUTOLOAD" chop $b; # to remove the "d" sub a{$b}; # this makes &a return $b eval # *AUTOLOAD = *a join '=', # '*$c = *a' map "*$_", # '*$c', '*a' qw( $c a ); # '$c', 'a' print _Obfuscation_(); # calls AUTOLOAD()

japhy -- Perl and Regex Hacker

Comment on (dissection) Re: Seems straightforward, but...
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://94296]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (9)
As of 2015-11-27 17:52 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls