Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by Anonymous Monk
on Jul 08, 2010 at 23:59 UTC ( [id://848786] : note . print w/replies, xml ) Need Help??


in reply to 'use strict' without a semicolon can be interesting

Thats weeeeeird :D
$ perl -MO=Deparse -e "sub {use CGI my @s = @_;} " use CGI (my(@s) = @_); sub { } ; -e syntax OK $ perl -MO=Deparse -e "sub {use strict my @s = @_;} " sub { } ; -e syntax OK