in reply to Re: v-string in use/require non-portable
in thread v-string in use/require non-portable
The warning is coming from this line of Mail::Field::ParamVal:
require v5.6;
Such a line no longer causes a warning in more recent perls, but you can avoid the problem either by modifying the above line to read:
or with something like this in your own code:require 5.006;
.. to make sure the offending module is loaded and compiled early, with that particular warning disabled.BEGIN { no warnings 'portable'; require Mail::Field::ParamVal; }
Beware that taking the latter approach has a small chance of causing you problems in the future, if a later version of perl detects some other portability problem in the module that you would have wanted to know about.
The other workaround, of course, is to upgrade to the latest maintenance version of perl 5.8, currently 5.8.4.
Hugo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: v-string in use/require non-portable
by ysth (Canon) on May 16, 2004 at 18:25 UTC | |
by hv (Prior) on May 16, 2004 at 20:48 UTC | |
|
Re: Re: Re: v-string in use/require non-portable
by Anonymous Monk on May 16, 2004 at 17:15 UTC | |
by hv (Prior) on May 16, 2004 at 21:29 UTC | |
by demerphq (Chancellor) on May 17, 2004 at 12:49 UTC |