Jenda Krynicky said: > From: "Paul Johnson" <[EMAIL PROTECTED]> >> As I recall, someone (Timothy Johnson?) said they got errors from >> using Win32 more than once and resorted to requiring it to silence the >> errors. I don't think we ever saw the error messages or the code. >> This prompted me to write the first paragraph above. > > The problem in that case was that two different modules exported by > default the same constants. And therefore perl -w issued warnings > about redefining constants/subroutines.
Ah, OK. I missed that important bit of information. But to make this little thread useful I can use this example to warn against the antisocial use of @EXPORT where @EXPORT_OK or even %EXPORT_TAGS might be better. > Most probably the "correct" solution would be to > use Win32 qw(); which is the same as use Win32 (); which is (almost) the same as require Win32; which is where we came in. So now we can all relax and enjoy our weekends, safe in the knowledge that this little conundrum has been put to rest. Thanks, Jenda. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]