in reply to or vs || precedence issue
in thread Image::Magick resize question

Cool! I was quite unaware of the difference between || and or. If it makes that much of a difference, I'll start using or in place of || when checking return errors. Thanks for the reply, the information was very useful.

Replies are listed 'Best First'.
Re^2: or vs precedence issue
by Aristotle (Chancellor) on Jun 09, 2002 at 20:03 UTC

    Nononono. Not everywhere. Everywhere it belongs. Neither one is "the right one". Please take the time to understand exactly why they each work the way they do.

    Here's a hint: everything you can do with the one, you can also do with the other, as long as parens regulate precedence.

    Makeshifts last the longest.