Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: $foo->bar = 14;

by Juerd (Abbot)
on Dec 29, 2002 at 23:36 UTC ( #222971=note: print w/ replies, xml ) Need Help??


in reply to Re: $foo->bar = 14;
in thread $foo->bar = 14;

Personally, I don't favor automatic creation of accessors (or mutators) at runtime.

I have this creation wrapped in BEGIN blocks, and have always been able to subclass them. Not that it matters much, because a module is run completely when it is used (how else can its return value be evaluated?). Inheritance itself is a run-time thing, so I can't see how it can break. Note that I'm not using AUTOLOAD here.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.


Comment on Re: Re: $foo->bar = 14;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2015-07-03 23:59 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 (57 votes), past polls