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

Re^2: avoiding overwriting variables in an inherited class

by whatnext156 (Initiate)
on May 03, 2012 at 18:06 UTC ( #968791=note: print w/ replies, xml ) Need Help??


in reply to Re: avoiding overwriting variables in an inherited class
in thread avoiding overwriting variables in an inherited class

Thank you for your replies .... sorry for taking a while to get back - I had some login problems as I have never posted to this site before! Hopefully now resolved.

The fact this is an issue is a message that I do in fact have some kind of comprehension about the whole thing. Fantastic!!!

After some initial difficulties (duh??) I have been reading more about inside-out objects and I have to agree with the poster that these must be the way forward.. alternatively using Moose? (your comments welcome) which negates the worry.

in general i am surprised by Perl's OO as I am used to Perl being well thought out. I guess OO is always a subjective thing (higher level than the sequential stuff?). ie gives more flexibility but also an enormous number of ways of doing things?


Comment on Re^2: avoiding overwriting variables in an inherited class
Re^3: avoiding overwriting variables in an inherited class
by JavaFan (Canon) on May 04, 2012 at 11:56 UTC
    You could also use Moose, but (as someone who only does Moose when it's on my plate), Moose has always struck me more as a lifestyle than a solution to a problem; its community is not as cultish as some of the webframeworks, but they're on the edge.

    But hey, if it works for you, more power to you.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2015-07-03 07:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (48 votes), past polls