in reply to Handler communication in XML::Twig

Or you could always define @HOGS in a lexical scope that just your two handlers can see.

{ my @HOGS; sub find_hiden_views { ... } sub handle_view { ... } }

Replies are listed 'Best First'.
Re: Re: Handler communication in XML::Twig
by diotalevi (Canon) on Feb 12, 2004 at 18:18 UTC
    This doesn't solve the problem and turns @HOGS into a tricky sort of global-alike.