It's not quite the same ^^. @rv is an array and in scalar context evaluates to the number of the emelents. Slicing turns it into a list and thus gives the last element instead.
In reply to Re^2: regexp list return 5.6 vs 5.8
by Sixtease
in thread regexp list return 5.6 vs 5.8
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |