Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Object Oriented Orientation

by GrandFather (Saint)
on Aug 04, 2011 at 00:05 UTC ( [id://918407]=note: print w/replies, xml ) Need Help??


in reply to Object Oriented Orientation

You may be interested in Not quite an OO tutorial. I use OO in a very light weight way a lot in Perl. For small scripts I use it as a convenient way of carrying around context when calling various functions to get work done. It pretty much completely avoids the need for global variables and allows me to control coupling between different parts of the code by choosing between using explicit parameters in calls or by passing information in the object as part of the object's context.

My entry point for using OO is more like a few tens of lines than a few hundred!

True laziness is hard work

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-23 15:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found