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

Re: Re-using/changing a class

by Crulx (Monk)
on Feb 10, 2001 at 16:42 UTC ( #57620=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    package Myclass;
    ...
    sub foo { return 1; }
    
    1;
    
  2. or download this
    use strict;
    package Myclass;
    ...
    sub foo { return 42; }
    
    1;
    
  3. or download this
    use strict;
    use Myclass;
    ...
    <STDIN>;
    do 'Myclass.pm';
    print "Foo is " . &Myclass::foo . "\n";
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2022-11-29 10:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?