- or download this
# in Alpha.pm
...
close $fh;
return $string;
}
- or download this
*Alpha::sayhowdy = \&sayhowdy if ! defined &Alpha::sayhowdy;
- or download this
use Test::More qw( no_plan);
...
require_ok('Beta');
is($self->sayhowdy(), qq{Howdy, beta\n},
"Beta::sayhowdy is now Alpha::sayhowdy");
- or download this
[Alpha] 539 $ prove -vb t/03_gamma.t
t/03_gamma....ok 1 - use Alpha;
...
ok
All tests successful.
Files=1, Tests=7, 0 wallclock secs
- or download this
$ cover -delete
$ make test HARNESS_PERL_SWITCHES=1
...
if ! defined &Alpha::sayhowdy;
22
23 1;