Acme-Stack
view release on metacpan or search on metacpan
}
use Acme::Stack;
print "1..7\n";
package Number {
sub new {
my ($class, $n) = @_;
bless \$n, $class;
}
sub add {
my ($self, $n) = @_;
Number->new($$self + $$n);
}
sub _routine_abc { # calls Acme::Stack::abc with 4 args
my ($self) = @_;
my $in = $$self;
t/test1_alt.t view on Meta::CPAN
# use 5.014;
use Acme::Stack;
print "1..7\n";
package Number; #{
sub new {
my ($class, $n) = @_;
bless \$n, $class;
}
sub add {
my ($self, $n) = @_;
Number->new($$self + $$n);
}
sub _routine_abc { # calls Acme::Stack::abc with 4 args
my ($self) = @_;
my $in = $$self;
}
use Acme::Stack;
print "1..7\n";
package Number {
sub new {
my ($class, $n) = @_;
bless \$n, $class;
}
sub add {
my ($self, $n) = @_;
Number->new($$self + $$n);
}
sub _routine_abc { # calls Acme::Stack::abc with 4 args
my ($self) = @_;
my $in = $$self;
t/test2_alt.t view on Meta::CPAN
# use 5.014;
use Acme::Stack;
print "1..7\n";
package Number; #{
sub new {
my ($class, $n) = @_;
bless \$n, $class;
}
sub add {
my ($self, $n) = @_;
Number->new($$self + $$n);
}
sub _routine_abc { # calls Acme::Stack::abc with 4 args
my ($self) = @_;
my $in = $$self;
( run in 1.305 second using v1.01-cache-2.11-cpan-de7293f3b23 )