my $var='cat'; .... .... .... $var='fish';
&$var; # I want to run fish if $var is a fish or cat if $var is a cat... sub cat { .... }; sub dog { .... }; .... sub fish { .... };For some reason I think I'll be told this is a bad idea. So what are my options?
Ryan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>