in reply to Re: Can't call method on an undefined value
in thread Can't call method on an undefined value

Sorry, I was using A and B as examples and didn't realise they were already core modules. I have updated the question.
  • Comment on Re^2: Can't call method on an undefined value

Replies are listed 'Best First'.
Re^3: Can't call method on an undefined value
by remiah (Hermit) on Nov 16, 2011 at 07:23 UTC

    cpan's log4perlsays "You can get a logger anytime via a singleton mechanism:".

    I think you can reproduce your situation if you make simple example codes. I am not sure about relation between main package and foo/bar/baz packages,especially. Readmore tag seems to be recommended for a sample code which becomes long, I put them below.

    regards