[svn:perlfaq] r10603 - perlfaq/trunk
[email protected] Fri, 18 Jan 2008 03:42:51 -0800 (PST)
| Newsgroups | perl.cvs.perlfaq |
|---|---|
| Message-ID | <[email protected]> |
Author: comdog Date: Fri Jan 18 03:42:50 2008 New Revision: 10603 Modified: perlfaq/trunk/perlfaq7.pod Log: * How do I create a static variable? + moved reference to perlsyn to top of answer + ensure I save *all* my changes before I commit :) Modified: perlfaq/trunk/perlfaq7.pod ============================================================================== --- perlfaq/trunk/perlfaq7.pod (original) +++ perlfaq/trunk/perlfaq7.pod Fri Jan 18 03:42:50 2008 @@ -780,9 +780,6 @@ print "No such command: $string\n"; } -Note that starting from version 5.10, Perl has now a native switch -statement. See L<perlsyn>. - Starting from Perl 5.8, a source filter module, C<Switch>, can also be used to get switch and case. Its use is now discouraged, because it's not fully compatible with the native switch of Perl 5.10, and because,