http://qs321.pair.com?node_id=933274


in reply to Re^2: Avoiding Globals with OO Perl
in thread Avoiding Globals with OO Perl

You know, you've faced the problem of my everyday erlang reality. There is no such thing as a global variables, but (sic!) there is a process-dictionary, the State and things alike. So, anyway, you need to have some dynamically modifiable in runtime params which you will need only on N-th in depth sub. Just create a hash-like structure and give a link to it in a bunch of your nested subs =)