Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2016-10-01 18:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (3 votes). Check out past polls.