Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Understanding h2xs's "ok" subroutine

by Ven'Tatsu (Deacon)
on Sep 10, 2004 at 16:18 UTC ( [id://390131]=note: print w/replies, xml ) Need Help??


in reply to Understanding the Test module's "ok" subroutine

Which testing module is being used? Test behave the way you are expecting, but Test::More and Test::Simple expect the first argument to be either true or false and the second (optional) argument to be a name for the test.
My guess is that h2xs has the test harness using Test::More.

Replies are listed 'Best First'.
Re^2: Understanding h2xs's "ok" subroutine
by esharris (Monk) on Sep 10, 2004 at 17:36 UTC
    You're right! I had an old h2xs that "use Test". The current h2xs "use Test::More". That's a gotcha. Thanks Again, Earl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://390131]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found