but what if I want a else ?someFunc() if($someVar==$anotherVar);
there is any way I can do this in perl ?if(someVar==anotherVar)someFunc(); else anotherFunc();
In reply to if/else syntax by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |