Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: 'use strict' without a semicolon can be interesting

by ikegami (Patriarch)
on Jul 13, 2010 at 18:30 UTC ( [id://849344] : note . print w/replies, xml ) Need Help??


in reply to Re^2: 'use strict' without a semicolon can be interesting
in thread 'use strict' without a semicolon can be interesting

It already does that.

$ perl -e'use strict "foo"' Unknown 'strict' tag(s) 'foo' at -e line 1 BEGIN failed--compilation aborted at -e line 1.

You passed an empty list which is perfectly valid (i.e. the same as use strict;).