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

Skipping tests if a module is not available

by Jeffrey Kegler (Hermit)
on Oct 31, 2007 at 02:44 UTC ( [id://648163]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    
    use Test::Weaken 0.002002;
    use Test::More tests => 1;
    pass("Just so I have a test in the example");
    
  2. or download this
    1..1
    ok 1 - Just so I have a test in the example
    
  3. or download this
    t/4monks......Test::Weaken does not define $Test::Weaken::VERSION--ver
    +sion check failed at t/4monks.t line 4.
    BEGIN failed--compilation aborted at t/4monks.t line 4.
    t/4monks......dubious                                                 
    +       
            Test returned status 2 (wstat 512, 0x200)
    

Log In?
Username:
Password:

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

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

    No recent polls found