in reply to Re^2: Switch Module on Perl 5.8.0
in thread Switch Module on Perl 5.8.0
See also Perl Best Practices Chapter 6 (Control Structures) especially:
- 6.16 Value Switches - Use table look-up in preference to cascaded equality tests
- 6.17 Tabular Ternaries - When producing a value, use tabular ternaries
|
---|
In Section
Seekers of Perl Wisdom