in reply to Tests for 'printing' code
use Test::More qw(no_plan); ok(test_foo() eq "bar"); sub print_foo_message { print "foo"; } sub test_foo { return "bar"; }
jeffa
L-LL-L--L-LL-L--L-LL-L-- -R--R-RR-R--R-RR-R--R-RR B--B--B--B--B--B--B--B-- H---H---H---H---H---H--- (the triplet paradiddle with high-hat)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Tests for 'printing' code
by dda (Friar) on Oct 19, 2003 at 15:16 UTC | |
by jeffa (Bishop) on Oct 19, 2003 at 15:31 UTC | |
by dda (Friar) on Oct 19, 2003 at 16:15 UTC |