[ 源代码: libswitch-perl ]
软件包:libswitch-perl(2.17-3)
switch statement for 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 compatibility since it is being removed from the core. For perl 5.10 and above the "given/when" builtins are much preferred.