Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: About inheritence ? and Autoload ?

by kyle (Abbot)
on Nov 25, 2009 at 13:24 UTC ( #809335=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $subpackage = __PACKAGE__ . '::Command';
    my $test_command = $subpackage->new(@ARGV);
    
  2. or download this
    sub UNIVERSAL::subpackage { join '::', @_ }
    
    ...
    Foo->check();
    __END__
    I am: Foo::Command
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://809335]
help
Chatterbox?
and nobody stirs...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2017-03-24 04:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (295 votes). Check out past polls.