- or download this
our %EXPORT_TAGS = ( 'all' => [ qw(
doubler
) ] );
- or download this
use Integer::Doubler qw( doubler );
-or-
use Integer::Doubler qw( :all );
- or download this
BEGIN {
use_ok 'Integer::Doubler', qw( doubler );
-or-
use_ok 'Integer::Doubler', qw( :all );
}
- or download this
print "2 * 2 =", doubler(2);
- or download this
is( doubler(2), 2*2, 'doubler(2)' );
- or download this
use Test::More tests => 2;