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

Re: Simple inheritance question

by ikegami (Patriarch)
on Apr 23, 2010 at 16:51 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://836563]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-20 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found