Question & Answer
Question
What alternatives to using the Switch.pm Perl module are available when using IBM Rational ClearQuest CQperl or ratlperl?
Cause
The Switch.pm module has been dropped from the standard distribution of Perl as of Perl 5.12.
Refer to the "Deprecations" section in the following article for further information:
Answer
Future releases of ClearQuest will be bundled with newer versions of Perl which will no longer include Switch.pm. Thus, if you are using the Switch.pm module, you should consider using new features that are available in Perl 5.10 and later to replace the functionality of Switch.pm.
Refer to the following FAQ which provides information about the new syntax:
http://perldoc.perl.org/perlfaq7.html#How-do-I-create-a-switch-or-case-statement%3F
Was this topic helpful?
Document Information
Modified date:
29 September 2018
UID
swg21621637