http://www.perlmonks.org?node_id=666056

#!/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.