Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

How to ask better questions using Test::More and sample data

by neilwatson (Priest)
on Feb 08, 2016 at 20:24 UTC ( [id://1154672]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    like( $data, $regex, "Matching my regex" );
    
    done_testing;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    ok( mysub(), "Should return true" );
    
    done_testing;
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    line two..... 
    ....
    line ten.....
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1154672]
Approved by ww
Front-paged by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-23 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found