in reply to How to pass and retrieve command-line arguments specifying search conditions?

With that syntax, your shell is likely to eat the && and ||. You should put quotes around that part and parse @ARGV yourself.

perl search.pl 'arg1 && arg2 || arg3'
(The quotes used may vary with OS)

Or you could use a different syntax like this:

perl search.pl arg1 AND arg2 OR arg3
YMMV