What error message did you get when you tried barsub( $FooObj )? Maybe you need to check that it is defined before passing it to barsub :
my $FooObj = Some::Module->new or die '$FooObj should not be undef';
In reply to Re: Object passing within a package
by Arunbear
in thread Object passing within a package
by naChoZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |