Acme-Nooo
view release on metacpan or search on metacpan
# change 'tests => 1' to 'tests => last_test_to_print';
use Test::Simple tests => 3;
require Acme::Nooo;
ok(1, 'loaded');
package Annoying;
sub new
{
bless [], Annoying;
}
sub f
{
shift; "OO";
}
package Annoying2;
our $foo;
sub new
{
shift;
bless { blah => shift }, Annoying2;
}
sub f2
{
shift->{blah}
}
package main;
use Acme::Nooo 'Annoying';
use Acme::Nooo ['Annoying2', 'blah'];
( run in 1.027 second using v1.01-cache-2.11-cpan-de7293f3b23 )