Help for this page

Select Code to Download


  1. or download this
    push @{$self->{'.parameters'}}, $param;
    
  2. or download this
    # new() hash constructor
    print "Testing: new() hash constructor\n" if $debug;
    $q = new CGI::Simple( { 'foo'=>'1', 'bar'=>[2,3,4] } );
    @av = $q->param;
    ok( (join' ',@av), 'foo bar' );    #68
    
  3. or download this
        elsif ( (ref $init) =~ m/HASH/i ) { # initialize from param hash
            for my $param( keys %{$init} ) {
                $self->_add_param( $param, $init->{$param} );
            }
        }