in reply to Re: Win32 EXPORT_OK problems
in thread Win32 EXPORT_OK problems
There is no reason for use vars to ever be removed nor for you to stop using it. our offers some slight efficiency improvements, so if you are never going to be using pre-5.6 versions of Perl, then go ahead and use it.
It would be very stupid for the Perl developers to remove use vars since there would then be no good way to make portable modules. Go ahead, try to write a module that uses our if available but then falls back to use vars otherwise. The falling back is easy, but conditionally using our is pretty much impossible (at least right now).
The somewhat strong wording about use vars being obsoleted is unfortunate and probably should be changed.
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 1: "use vars" will remain (Re: Win32 EXPORT_OK problems)
by tilly (Archbishop) on Dec 27, 2000 at 01:13 UTC | |
by tye (Sage) on Dec 27, 2000 at 01:39 UTC | |
by tilly (Archbishop) on Dec 27, 2000 at 02:20 UTC | |
by chipmunk (Parson) on Dec 27, 2000 at 01:44 UTC | |
by tye (Sage) on Dec 27, 2000 at 01:48 UTC |