On Sun, 1 Mar 2015 17:05:59 -0800 "David E. Wheeler" <da...@justatheory.com> wrote:
> On Mar 1, 2015, at 5:00 PM, David E. Wheeler <da...@justatheory.com> wrote: > > > Fellow mod_perlers, > > Oy vey, major autocomplete fail. Sorry about that, DBI folks, please > ignore. At least not an insult... If foo is called with your package followed by the original stack then maybe you could just to the entire job in foo, leaving the handler to return only OK: sub foo { # do all of the work here } sub handler { OK } Short of that, I think you are stuck. The only way to constrain $foo would be something like: { my $foo = ''; sub foo { ... } sub handler { } } and at least $foo is scoped reasonably. -- Steven Lembark 3646 Flora Pl Workhorse Computing St Louis, MO 63110 lemb...@wrkhors.com +1 888 359 3508