in reply to RFC: Preventing a module from loading
or am i missing something?use Test::More qw(no_plan); use Test::MockObject; # use Roman; # <- i don't have Roman.pm installed my $roman = Test::MockObject->new(); $roman->set_true($_) for qw(roman isroman arabic); ok($roman->isroman('IV')); $roman->set_false('isroman'); ok($roman->isroman('42'));
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: (jeffa) Re: RFC: Preventing a module from loading
by Corion (Patriarch) on Feb 16, 2003 at 15:51 UTC | |
by DapperDan (Pilgrim) on Feb 17, 2003 at 00:12 UTC |