my %lookup = (edit => sub { let_the_user_edit_it() }, preview => sub { preview_it() }, commit => sub { commit_to_get_fit() }); $lookup{param('state')}->();
In reply to Re: Re: Why is my CGI.pm script trying to assign data before pressing submit.
by Amoe
in thread Why is my CGI.pm script trying to assign data before pressing submit.
by dru145
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |