Think about Loose Coupling | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This is an ongoing theme of mine: see multiple method calls against the same object (f.ex GUI programming) and RFC: Class::Proxy::MethodChain. I think I have now found an elegant solution I can settle for. An example similar to the one in multiple method calls against the same object (f.ex GUI programming) would be
which is equivalent to
Update: changed example to actual working Gtk2 code. Update: fixed re-throw code bug spotted by simonm.
|
|