Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Problems? Is your data what you think it is?
 
PerlMonks  

(Ovid - don't always need -w and strict) RE: problem with print content of file

by Ovid (Cardinal)
on Aug 07, 2000 at 17:40 UTC ( [id://26614]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to (jjhorner)problem with print content of file
in thread problem with print content of file

While I agree with your general idea of voting down experienced monks who don't use -w or strict, I can't say that it's always appropriate.

For example, this post doesn't even have a shebang line. That suggests to me that this is a code snippet and not the entire program. Hence, no -w or strict. Also, sometimes we're just writing a quick throwaway that won't be reused. While I tend to use -w and strict even for my throwaways (because I've been known to shoot myself in the foot), I wouldn't argue that you always need to be that careful on a one-shot deal.

Despite the above comments, I do accept the general rule about using -w and strict and have voted monks down for that in the past.

And kudos to you for telling this monk why you voted --.

Cheers,
Ovid

  • Comment on (Ovid - don't always need -w and strict) RE: problem with print content of file

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://26614]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.