Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Simple inheritance question

by ikegami (Pope)
on Apr 23, 2010 at 16:51 UTC ( #836563=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    test()           # function
    Module::test()   # function
    $obj->test()     # virtual instance method
    $class->test()   # static method
    
  2. or download this
    test($obj)         # From within the object that defines test().
      -or-
    Class::test($obj)  # From anywhere.
    
  3. or download this
    $obj->Class::test()
    $class->Class::test()
    $obj->SUPER::test()
    $class->SUPER::test()
    
  4. or download this
    sub eg { $_[0]->test($_[1]); }
    sub eg { One::test(@_); }
    sub eg { Two->test($_[1]); }
    sub eg { One->test($_[1]); }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2020-08-06 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (39 votes). Check out past polls.

    Notices?