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

>
> However, using your suggestion:
>   > $code->($var1, $var2);

Something I forgot to ask about that.

What if more than 1 of referenced sub routines needed vars passed in
but the needed vars were not the same?

I'm guessing that using $code->() is not such a good idea.  Whatever
data any subroutines may need, should have been supplied before the
`dispatch table' is called.


-- 
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