Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Lock File

by superfrink (Curate)
on Nov 03, 2010 at 19:06 UTC ( #869292=note: print w/replies, xml ) Need Help??


in reply to Re: Lock File
in thread Lock File

One work around is to put the constant on the left in comparisons. The following will throw an error:

while (0 = $stop) {

There is some more discussion in What habits do you have to avoid introducing bugs?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://869292]
help
Chatterbox?
[Eily]: marto I clearly don't have the thread knowledge to understand the importance of that example
[choroba]: the related discussion on Hacker news is interesting
[choroba]: not so many Perl haters so far

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (9)
As of 2017-07-26 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.