Help for this page

Select Code to Download


  1. or download this
    use strict;
    use CGI;
    ...
    my $bad_method = "param('foo')";
    print $q->$good_method( 'foo' );
    print $q->$bad_method;
    
  2. or download this
    @commands = (
      ['add_node','W1'],
    ...
        my ( $command, @args ) = @$_;
        $g->$command( @args );
    }