Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: how to create a "delegating" array?

by holli (Monsignor)
on Nov 29, 2009 at 16:48 UTC ( #810019=note: print w/ replies, xml ) Need Help??


in reply to Re: how to create a "delegating" array?
in thread how to create a "delegating" array?

This requires the "consuming" code to know about the internals of 'Bar' (by using autobox). That is clumsy and not what I want.



holli

You can lead your users to water, but alas, you cannot drown them.


Comment on Re^2: how to create a "delegating" array?
Re^3: how to create a "delegating" array?
by spx2 (Chaplain) on Nov 29, 2009 at 20:00 UTC
    you can write code completely independent of 'Bar' if you use monkeypatching combined with autobox, is that what you mean ?
      maybe, i have no idea how i should "monkeypatch" a class.


      holli

      You can lead your users to water, but alas, you cannot drown them.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2014-09-17 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (99 votes), past polls