Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Chat Script - Logging PMs

by Anonymous Monk
on Jan 18, 2013 at 20:42 UTC ( #1014121=note: print w/ replies, xml ) Need Help??


in reply to Chat Script - Logging PMs

The elsif and its condition will only be checked when the main if's condition is false.

This is an exercise in boolean logic I think... if (P) then log(). if (!P and Q) then log().

Which can simplify to: if (Q or P) then log()


Comment on Re: Chat Script - Logging PMs

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (22)
As of 2015-07-07 15:47 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 (91 votes), past polls