- or download this
# foo.pl
use strict;
...
1;
__END__
- or download this
# foo.t
use strict;
...
# Note: I want a warning here:
cmp_ok(add(1000,1000), q{==}, 2000, q{Expect 1000+1000=2000});
__END__
- or download this
$ prove --version
TAP::Harness v3.10 and Perl v5.10.0
...
All tests successful.
Files=1, Tests=8, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.08 cusr
+ 0.00 csys = 0.10 CPU)
Result: PASS