in reply to Re: "use 5.10.0" creates weird syntax error on sub named "default"
in thread "use 5.10.0" creates weird syntax error on sub named "default"
That must be it ! Thanks, Alexander.
I thought of that feature active only with use Switch 'Perl6'; (http://perldoc.perl.org/5.10.0/Switch.html), but the keyword is obviously reserved all the time.
Still not clear to me why writing explictly use 5.10.0 change the rules of the game, since I'm running 5.10.0 anyway, but allright...
Many thanks again !
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: "use 5.10.0" creates weird syntax error on sub named "default"
by ikegami (Patriarch) on Nov 27, 2010 at 09:42 UTC |