Help for this page

Select Code to Download


  1. or download this
    <select name="foo">
    <option value="">Please make a selection
    <option value="first">First
    <option value="second">Second
    </select>
    
  2. or download this
    my $doit = $q->param('foo');
    my %functions = ('first'   =>  \&one,
                     'second'  =>  \&two
                    );
    
  3. or download this
    &{ $functions{$doit} };