Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    # testing null information
    my @results = $sec->validate( $mock );
    ok( ! @results, 'No cookie, user, or pass should fail to validate');
    
  2. or download this
    sub add_product {
        my ( $self, $data ) = @_;
    ...
        );
        $self->_generic_insert( \%category, 'category_product', COMMIT );
    }