in reply to Re^4: Importing constans and variables when "require"ing
in thread Importing constans and variables when "require"ing

In short: Strict and warnings add a lot of compile time checks to help you catch "potential" problems.

This usually works well if you don't try to tweak the normal procedures like you do by switching to runtime effects.

Either ignore or disable these messages or start to read what Perl really does. ;)

Hint:

Perl 5 is mostly compatible to Perl 4 which didn't have strict ...

edit

... and does dynamic binding of vars and subs unlike C.

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

  • Comment on Re^5: Importing constans and variables when "require"ing