Thomas Bätzler <t.baetz...@bringe.com> writes: > Harry Putnam <rea...@newsguy.com> asked: > [...] >> which is also inside sub dispt {the sub function}. Where does global >> come in? > > Hint: $code->(@_);
Yes, I knew it could be done there... but what to do then when more function calls are added. Are you thinking something like: if(something){ $code->(values) }elsif(something else){ $code->(Other values) } [...] It allow for additional calls in the dispatch table? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/