Harry Putnam <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/