XP is just a number | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Someone ran across a problem in some production code where there was a missing semicolon after use strict. The problem reduces to this:
perl -e 'sub {use strict my @s = @_;}' It seems to me like it would be nice if this gave some sort of an error. Am I missing something? The problem was found with perl 5.8.4 and still behaves the same way in perl 5.8.12 (edit: oops, I meant 5.12.1) It should work perfectly the first time! - toma
In reply to 'use strict' without a semicolon can be interesting by toma
|
|