- or download this
#!/usr/bin/perl
use A;
my $test = A::B->new(test => 1);
- or download this
package A;
sub B{
...
}
1
- or download this
A::B called with args <>
A::B::new called with args: <A::B>
A::B::new called with args: <A::B=HASH(0x23602c) test 1>
Attempt to bless into a reference at A.pm line 14.
- or download this
require A;
my $test = A::B->new(test => 1);