Can't locate Switch.pm in @INC 的解决办法

原因:没有安装perl的switch包。

解决办法:

在新立得里面查libswitch-perl然后选中安装即可。


Switch.pm implements a generalized case mechanism that covers many
possible combinations of switch and case values.


This is an obsolete module provided for compatiblity since it is being
removed from the core. For perl 5.10 and above the "given/when" builtins
are much preferred.

你可能感兴趣的:(Can't locate Switch.pm in @INC 的解决办法)