Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Module provides both of functional interface and object-oriented one

by anazawa (Scribe)
on Feb 16, 2012 at 17:44 UTC ( #954299=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # OO interface
    use Foo;
    ...
    use Foo qw(method1_foo method2_foo);
    method1_foo();
    method2_foo();
    
  2. or download this
    # Foo.pm
    package Foo;
    ...
    }
    
    1;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://954299]
Approved by davies
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2017-03-26 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (313 votes). Check out past polls.