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 reply to Re: Do you ever forget to use the strictures?
by ysth
in thread Do you ever forget to use the strictures?
by tphyahoo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |