toma has asked for the wisdom of the Perl Monks concerning the following question:
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)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: 'use strict' without a semicolon can be interesting
by ikegami (Patriarch) on Jul 09, 2010 at 00:08 UTC | |
by toma (Vicar) on Jul 13, 2010 at 18:20 UTC | |
by ikegami (Patriarch) on Jul 13, 2010 at 18:30 UTC | |
|
Re: 'use strict' without a semicolon can be interesting
by Anonymous Monk on Jul 08, 2010 at 23:59 UTC | |
|
Re: 'use strict' without a semicolon can be interesting
by JavaFan (Canon) on Jul 12, 2010 at 10:27 UTC |