Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: Multiple check in If statement ??

by Enlil (Parson)
on Jul 11, 2005 at 08:00 UTC ( #473862=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( join("->",$a,$b,$c,$d,$e) eq join '->',qw(a c c d e)) {
        print "success\n";
    ...
    else {
        print "failure\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://473862]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2016-12-06 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (101 votes). Check out past polls.