Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by JavaFan (Canon)
on Jul 12, 2010 at 10:27 UTC ( [id://848968] : note . print w/replies, xml ) Need Help??


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

It seems to me like it would be nice if this gave some sort of an error.
I think anyone would appreciate it if Perl magically can detect when a programmer writes something he didn't intend, while never triggering when the programmer writes what he intends.

Unfortunally, noone has ever been so smart as to write the code for this.

Am I missing something?
Programmers are still responsible for what they write. ;-)
  • Comment on Re: 'use strict' without a semicolon can be interesting