G'day vinoth.ree,
All of these issues are explained in perlop - Range Operators. Quickly pointing you to the relevant parts:
-- Ken
In reply to Re: Scalar context with list and range operator
by kcott
in thread Scalar context with list and range operator
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |