I try to use the GetOptionsFromString function and encounter the following error:
"GetOptionsFromString" is not exported by Getopt :: Long
In the program, I have the following lines:
use Getopt::Long qw(GetOptionsFromString);
use Getopt::Long;
I tried perl -MGetopt::Long -e 'print $Getopt::Long::VERSION, "\n"'and it prints 2.35.
Can someone help me in solving this problem?
source
share