hasimir44 has asked for the wisdom of the Perl Monks concerning the following question:

Does perl work like shell scripting when using && and || or is there a different/better way? ex:

if (($val > 5) && ($val < 10)) { ... }

I'm going through "Learning Perl" right now at a cafe and I'm stubbornly concerned with this.. I can't find an example in the book or on google.. weird. Anyway, thanks..