in reply to Do you ever forget to use the strictures?

    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().

Replies are listed 'Best First'.
Re^2: Do you ever forget to use the strictures?
by tphyahoo (Vicar) on Aug 31, 2005 at 10:07 UTC
    yep, took them out. old habit I guess, I just turn on i "by default."