"be consistent" | |
PerlMonks |
Multiple check in If statement ??by PonGopi (Initiate) |
on Jul 11, 2005 at 06:59 UTC ( [id://473850]=perlquestion: print w/replies, xml ) | Need Help?? |
PonGopi has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am having a problem with this code
I dont know if we can give like this, but I was just trying to give if stmt in multiple ways. What happens is if $e alone matches, it prints success and if $e alone fails, it prints failure. Cant we use this method?? Should I modify the stmt using && operators... any help is appreciated. bye, Gopi
Back to
Seekers of Perl Wisdom
|
|