Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: if condition within module

by kcott (Archbishop)
on Aug 16, 2017 at 07:24 UTC ( [id://1197491]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     if ($col6 =~ /^\Q97517\E/ }
        elsif
     $col6 =~ /^\Q97516\E/))
    
  2. or download this
    if (CONDITION) {
        ACTION_WHEN_CONDITION_IS_TRUE
    }
    
  3. or download this
    elsif (ALTERNATIVE_CONDITION) {
        ACTION_WHEN_ALTERNATIVE_CONDITION_IS_TRUE
    }
    
  4. or download this
    else {
        ACTION_WHEN_CONDITION_IS_FALSE
    }
    
  5. or download this
    ACTION_WHEN_CONDITION_IS_TRUE if CONDITION;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2024-04-26 01:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found