Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: If statement multiple conditions

by Kenosis (Priest)
on Mar 13, 2013 at 23:55 UTC ( #1023323=note: print w/replies, xml ) Need Help??

in reply to If statement multiple conditions

Are there any meta-characters in $formget that may interfere with the match? If so, consider trying $form_type=~/\Q$formget\E/

Replies are listed 'Best First'.
Re^2: If statement multiple conditions
by kbone (Novice) on Mar 14, 2013 at 00:50 UTC

    The form type variable does have a .* in it. I tried your suggestion and I still could not pull any matches. I think it must have something to do with how I have set up the array. Thanks for your response!

      You're most welcome, kbone!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1023323]
[ambrus]: I really don't like automagic stuff. I'm happy when computers do exactly what I tell them, even if that means they sometimes do the wrong thing.
[ambrus]: And I don't much like syntax highlighters. If you need a syntax highlighter to understand your code, then your code is written unclear.
[ambrus]: And if you need a syntax highlighter to color parenthesis green and numbers black and letters blue, then you're using the wrong font.
[ambrus]: I have to tolerate syntax highlighters when other people use them, but I don't use them myself. And sorry for the rant.
[GotToBTru]: I appreciate the ability to highlight matching brackets/ parentheses/ braces, both for my own code and the inconsistently indented code of others
[Corion]: I like editors that automatically highlight the matching parenthesis (like % in vi), but that's roughly the extent to which I like editor support ;)
[GotToBTru]: same here Corion.

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (12)
As of 2017-02-27 12:47 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (385 votes). Check out past polls.