Just call them at will, make sure you only bless once. Add a check like:
Hope this helps,sub new { my $me = shift; if (ref( $me ) eq 'my_class_name') { print "I'm blessed!\n"; } else { ......
In reply to Re: OO Perl: calling a constructor within a class
by jeroenes
in thread OO Perl: calling a constructor within a class
by fx
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |