Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: elsif statement not being evaluated

by 2teez (Priest)
on Nov 18, 2012 at 06:27 UTC ( #1004379=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    if ( $choice = $an2 ) {
     ...
    ...
    elsif ( $choice = $an1 ) {
     ...
    }
    
  2. or download this
    if ( $choice == $an2 ) {
     ...
    ...
    elsif ( $choice == $an1 ) {
     ...
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1004379]
help
Chatterbox?
[marto]: and you still can't get a decent cup of tea in that town
[davies]: The turnout, IIRC, was about 12%.
[< & >]: 12% seriously? =)
NodeReaper thinks he was bad enough with one account \:

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-12-15 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (442 votes). Check out past polls.

    Notices?