Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://809253]
help
Chatterbox?
[james28909]: ok maybe i need to ask this question in sopw and not CB but here goes
[james28909]: i am manually parsing html, and am trying to wrap my head around keeping up with tag counts
[james28909]: i can extract a certain tree manually by regexing the html file for a starting anchor, then i send the position of the match to a sub and then seek to that position in the file and keep up with div tags (for now)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2017-04-25 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (448 votes). Check out past polls.