in reply to Re: regexp list return 5.6 vs 5.8in thread regexp list return 5.6 vs 5.8
ok, but then wouldn't it be better (in the sense of being more maintainable) to write something like
return wantarray ? @rv : $rv[-1];
?