我正在尝试使用GetOptionsFromString函数并面临以下错误:
Getopt :: Long模块不会导出"GetOptionsFromString"
在程序中,我添加了以下行:
use Getopt::Long qw(GetOptionsFromString);
use Getopt::Long;
Run Code Online (Sandbox Code Playgroud)
我试过perl -MGetopt::Long -e 'print $Getopt::Long::VERSION, "\n"',它打印2.35.
有人可以帮我解决这个问题吗?