Skip to main content

Alternatives to using switch.pm Perl module with CQperl or ratlperl


Technote (FAQ)


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:

http://www.perl.com/pub/2010/04/inside-perl-512.html

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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational ClearQuest

General Information


Software version:
8.0


Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows


Reference #:
1621637


Modified date:
2013-01-04

Translate my page

Content navigation