The problems with require are that for the Win32::EventLog module (at least) you get lots of 'undefined' errors (with and without -w) when the module is required (although it does continue to run, but makes examining the legitimate output of the script problematic). I also understand that I need to require in each BLOCK that uses functions from that module, well, if I don't I get more compilation errors! I get the impression that I'm incurring more overhead by doing so.
I was unsure about the import function - do I need to use that in every BLOCK that the require appears in?
Thanks for your (and everyone elses!) reply :-)
Pete
In reply to Re: Re: Coding for two platforms in one Script
by BoredByPolitics
in thread Coding for two platforms in one Script
by BoredByPolitics
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |