in reply to Re^2: inconsistent module access
in thread inconsistent module access

My most esteemed brethren choroba and HaukeX already nailed down your problem.

But you seem to be confused about the difference between use and require

from the docs

BEGIN happens at compile-time, if you want to use a module at run-time, you always need to call

->import

too.

It's also an FAQ, plz see

--> What's-the-difference-between-require-and-use?

and plz follow the various links embedded in this node to round up the picture.°

HTH! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

°) well you could already have followed some of them before