in reply to Importing constans and variables when "require"ing

I'm confused ...

>

print "PI=".$XYZ::PI."\n"; print "CONST=".XYZ::CONST."\n";

Importing means aliasing symbols from an exporting namespace into an importing namespace.

Since you are fully referencing the exporting namespace XYZ, you won't need any importing.

Update

A simple do File would be enough.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice