Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 musing on the Monastery: (2)
As of 2024-04-21 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found