Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Best OOP strategy?

by Anonymous Monk
on Aug 16, 2002 at 03:59 UTC ( [id://190588]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package MyScript::Categories;
    sub MainPage { ...main categories page... }
    sub Add { ...add categories page... }
    ..etc..
    
  2. or download this
    my $ms = new MyScript; # this would go up at the top
    
    package MyScript;
    ...
        bless {}, $class;
    }
    # all subs related to reviews go here
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found