in reply to AND OR

I'm not sure what you mean "like shell scripting"... Conceptually, they're the same idea, although their implementation details are incredibly different.

Your example, if (($val > 5) && ($val < 10)) { ... } probably does what you expect: execute the "..." part if $val is numerically between 5 and 10, exclusive.

Notes:

Just my 2 cents CDN.

Replies are listed 'Best First'.
Re^2: AND OR
by hasimir44 (Sexton) on May 14, 2006 at 05:09 UTC
    That's exactly what I wanted. Thanks for the detail. Perl is cooler than river dancing.