Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Multiple Package in one file with equal named variables

by Brutha (Friar)
on Jan 27, 2006 at 09:42 UTC ( [id://525933]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Baseclass;
    # common attributes and methods
    ...
    use base 'Baseclass';
    my @values = (...);
    sub use_values { ... }
    
  2. or download this
    package Subclass_1;
    use base 'Baseclass';
    ...
       my @values = (...);
       ...
    }
    
  3. or download this
    package Subclass_1;
    use base 'Baseclass';
    ...
      my @values = (...);
      sub use_values { ... }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://525933]
Approved by PodMaster
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-25 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found