You shouldn't need to pass $FooObj as a reference to barsub() (it should already be a reference).
Within barsub(), try doing this:
warn ref $FooObj;
(Or print if STDERR isn't convenient) and make sure Some::Module->new() is returning a blessed reference.
In reply to Re: Object passing within a package
by Mutant
in thread Object passing within a package
by naChoZ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |