Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


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."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://487983]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 12:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found