- or download this
"Class::Next=HASH(0xdeadbeef)"->new()
- or download this
sub new {
my $class= shift(@_);
...
if ref $class;
# ...
}
- or download this
sub new { bless {}, ref $_[0] || $_[0]; }
- or download this
sub new { croak "new takes class" if ref $_[0]; bless {}, $_[0]; }
- or download this
Can't locate object method "twirl" via package "Bar=ARRAY(0xbadd0g
+5)"