Harry Putnam <rea...@newsguy.com> writes:

Egad... I'm messing up what I want to say way too much.
There is an unfortunate type in there...
  
> But after finally reading your comments.. I'm thinking to stick with
> something more like this pattern.
>
> ,----
> |  @ar ## already with data inside (global)
> | 
> | sub dispatch {
> |       %hash  = (
> |                 N => \&N,   
> |                 N => \&O,   
> |                 N => \&P,   

       should be    N => \&N,
                    O => \&O,
                    P => \&P,

> |                  [...]
> |            );
> |   while {
> |    [...]
> |   }
> | }
> | sub N { do something with (global) @ar}
> | 
> |  [...] more subs
> `----




-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to