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
In reply to Re: Re: v-string in use/require non-portable
by hv
in thread v-string in use/require non-portable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |