in reply to Naming Subs
$data = &{ $action };
Of course you'd want to catch actions that haven't been defined; you could do that by comparing $action against a hash of defined actions, or eval'ing the above statement, or, well, you know how it goes ;)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Naming Subs
by BrowserUk (Patriarch) on Jan 13, 2003 at 11:40 UTC |