Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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?

Replies are listed 'Best First'.
Re^3: how to create a "delegating" array?
by spx2 (Deacon) 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 avoiding work at the Monastery: (4)
As of 2016-09-27 03:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (494 votes). Check out past polls.