http://qs1969.pair.com?node_id=129712


in reply to Re: Re: Coding for two platforms in one Script
in thread Coding for two platforms in one Script

You shouldn't get any errors when the module is required unless it has bugs. Are you talking about undefined variable errors, or are you using subroutines imported from the module during a use()?

There is no need to require the module in each block. Just require it once. If you are using imported subs, you will need to import it once in each module that uses those subs.

It's hard to understand why you're getting these errors, so maybe you should try to post a small example of some code that gives you errors when you use require.