CC: | prateeksha.keshari [...] intel.com |
Subject: | INC used only once warning with Perl 5.26.1 |
When Data::DPath::Context is used with Perl 5.26.1, it emits a warning message:
/usr/intel/pkgs/perl/5.26.1/bin/perl -e 'use Data::DPath::Context; '
Name "main::INC" used only once: possible typo at /usr/intel/pkgs/perl/5.26.1/lib64/5.26.1/Safe.pm line 374.
Is there a better way to fix this, other than changing line 32 in Data::DPath::Context like this:
$COMPARTMENT->reval( '@main::INC = @main::INC; no warnings;' ); # just so warnings is loaded
Or is this a problem in the Safe module? Any help or fix is highly appreciated!
Many thanks and best regards,
Marek