good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: OO Pattern Container x Elements and Method Chainingby LanX (Saint) |
on Oct 08, 2021 at 15:31 UTC ( [id://11137353]=note: print w/replies, xml ) | Need Help?? |
Sorry, I forgot to make clear that ->do_something() needs to know the actual Container $cont. I wanted to keep it short for clarity.
updateIt could be solved with a special Method Cascading.
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|