in reply to Object passing within a package
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';
|
|---|