develooper Front page | perl.beginners | Postings from January 2002

If statement

Thread Next
Lance Prais
January 9, 2002 09:24
If statement
Message ID:
I want the following statement to do something if either of this conditions
exist.  "or" Statement

if ((substr($_, 42, 7) eq "Running") || (substr($Nextline, 42, 7) eq

It is reading the right substrings but failing.
What am I doing wrong?

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About