Or use the deprecated module base instead, which "just works" in this situation.
In reply to Re^2: Example from perlobj failing? by tobyink in thread Example from perlobj failing? by HelenCr