Hi everybody.

I'm new in this list, don't know wheter this is a FAQ ( I've tried but bot 
found any FAQ ), so if it's please just point me towards it.

I've been looking at the documentation for the test modules  (Test::More,  
Test::Simple, Test::Builder ), and I've found nothing regarding the return  
value of the ok(), is(), etc... functions/methods. Browsing through the  
source I've found they (nearly) always land in calls to a Test::Builder->ok()  
method which carefully returns 1/0 at the tail. Even in Test::Builder  
documentation I've found only once the 'return' word, in the description of 
the diag() method which stronly hints that the tests functions returns true 
when the test pass ( prints OK ). 

I'd like to know if this a reliable but undocumented feature of a side efect, 
as i'd like to use the return value in tests, and if so wheter it is going to 
be documented.

Regards.
        Francisco Olarte SAnz.

Reply via email to