Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: open failure code

by cchampion (Curate)
on Nov 26, 2003 at 23:25 UTC ( #310412=note: print w/ replies, xml ) Need Help??


in reply to open failure code

In addition to the useful advice you've got so far, I would like to point out that programming with flag variables is not always a good idea.

See this discussion on flag variables for more material on this subject.

HTH


Comment on Re: open failure code
Replies are listed 'Best First'.
Re: Re: open failure code
by RolandGunslinger (Curate) on Nov 26, 2003 at 23:32 UTC
    Excellent advice. Using flag variables is a bad habit I've developed over the last 8 years. Thanks very much for your helpful response, and thanks everybody else. I feel like such an idiot, but at least I'm smarter than I was before.
      Nope, an idiot would have asked "My Perl code doesn't work. Why?" (without anything else, such as code, examples, assumptions, et cetera).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-31 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls