in reply to regexp list return 5.6 vs 5.8
i don't have access to 5.6 at the moment and so cannot investigate your question, but just as a matter of curiosity, why use the expression return @rv[ 0 .. $#rv ]; when it seems to me it will return exactly the same thing as return @rv; and when the latter expression does not involve the behavior of the .. range operator in the case where the terminal value is less than the initial value, i.e., 0 .. -1 in the case of $#rv when the array @rv is empty?
(you haven't been messing with $[ have you?)
In Section
Seekers of Perl Wisdom