All the Perl that's Practical to Extract and Report

Navigation

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Without JavaScript enabled, you might want to
use the classic discussion system instead. If you login, you can remember this preference.

I'd say that as well as providing an Object-Oriented interface, for some strange reason, Foo.pm is also exporting a function called Foo() you can use directly.Which is stupid of course, since now when doing OO you have to say

Foo::->new;

The subroutine is found before the word is treating as a string (and thus class) and so Foo() returns undef, which gives your error.

I seem to recall encountering this during my AppSpace days a few times, with the end result I wrote a standard symbol table sc