Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Object oriented mess

by longliveAJ (Acolyte)
on Apr 13, 2005 at 10:30 UTC ( [id://447411]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Object oriented mess
in thread Object oriented mess

Yes .. I do understand the difference between use and require. abc.pl is a global file thats contains common sub-routines (such as Error handling subs, template formating sub, etc) abc.pl is included in all files (even Client.pm) Client.pm looks something like this
--------------client.pm------------- package Client; use strict; require '../somepath/../abc.pl'; sub new { create and return a hash object } sub get_name { return $_[0]->{'Name'}; } 1; -------------
I apologize if I am not explaining the code well enough.

Replies are listed 'Best First'.
Re^3: Object oriented mess
by Joost (Canon) on Apr 13, 2005 at 10:44 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://447411]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.