Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: About inheritence ? and Autoload ?

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


in reply to About inheritence ? and Autoload ?

my $test_command = Command->new(@ARGV);

My guess is it doesn't work because there's no "Command" package with a "new" sub in it. In Perl, there's no automatic relationship between Test and Test::Command. They're just two names like Foo and Bar.


Comment on Re: About inheritence ? and Autoload ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-07-30 04:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls