Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

JAPH with AUTOLOAD

by sh1tn (Priest)
on Feb 04, 2008 at 19:20 UTC ( #666056=obfuscated: print w/replies, xml ) Need Help??

#!/usr/bin/perl Just->Another->Perl->Hacker; package Just; INIT { print __PACKAGE__, ' ' } sub AUTOLOAD { bless [print+($AUTOLOAD=~/::(.+)/)[0], q/ /] } sub DESTROY {}

Replies are listed 'Best First'.
Re: JAPH with AUTOLOAD
by ambrus (Abbot) on Feb 05, 2008 at 09:03 UTC

    Nice. For a somewhat related japh, see pete's My JAPH.

    Update: clarified that the japh is not mine, the title was confusing.

      Yep, the example you're pointing to looks better.
      Primarily my goal was the visual effect.


Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: obfuscated [id://666056]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2017-10-21 20:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?