Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Answer: How do I use @ISA and use strict at the same time?

( #663830=categorized answer: print w/ replies, xml ) Need Help??

Q&A > object-oriented programming > How do I use @ISA and use strict at the same time? contributed by Narveson

use strict; package Wombat; use base 'Marsupial';
See Conway, Perl Best Practices, chapter 16: Class Hierarchies, Inheritance.

Comment on Answer: How do I use @ISA and use strict at the same time?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-07-02 08:25 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 (31 votes), past polls