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

Re: Re: Cross-Package/Object Communication

by billyak (Friar)
on Aug 21, 2002 at 16:15 UTC ( [id://191782]=note: print w/replies, xml ) Need Help??


in reply to •Re: Cross-Package/Object Communication
in thread Cross-Package/Object Communication

My problem is how to "start" an OO program. From what I've done, it has always been something like

use x; my $x = new x; $x->set(blah=>"four"); $x->go;
Or something to that extent. Perhaps it is my fear of going non-OO in the launcher/manager part that is holding me back. Is it standard to have XML parsing or other config stuff non-OO fed into the objects to start the actual process? I could have a %main::CONFIG and pass that to all the objects that are initialized? That still doesn't change the fact that the ref to the config stuff has to be passed on to every object I initialize, though.

So it is safe so say that I am still confused as to how to work this.

-billyak

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-04-26 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found