Hello rir,
Looking at the source code for just the ok method in Test::More, version 1.302140:
sub ok { my( $self, $test, $name ) = @_; ... $test = $test ? 1 : 0; ... return $test; }
Clear? ;-)
Hope that helps,
| Athanasius <°(((>< contra mundum | Iustus alius egestas vitae, eros Piratica, |
In reply to Re: Test::More::ok and her ilk
by Athanasius
in thread Test::More::ok and her ilk
by rir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |