No such thing as a small change | |
PerlMonks |
Re: Do you ever forget to use the strictures?by ysth (Canon) |
on Aug 30, 2005 at 23:50 UTC ( [id://487983]=note: print w/replies, xml ) | Need Help?? |
print "$file\n" unless ( $text =~ /use warnings;/i && $text =~ /use strict;/i ) ;You really don't want those //i flags. On case-preserving filesystems, use Warnings; and use Strict; will apparently succeed but have no effect because of the lack of Warnings::import() and Strict::import().
In Section
Meditations
|
|