Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Further adventures with testing

by Ovid (Cardinal)
on Sep 25, 2002 at 23:48 UTC ( #200767=perlmeditation: print w/replies, xml ) Need Help??

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 );
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://200767]
Approved by tadman
Front-paged by krisahoch
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2017-09-24 02:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (273 votes). Check out past polls.

    Notices?