http://qs321.pair.com?node_id=663957


in reply to Re: regexp list return 5.6 vs 5.8
in thread regexp list return 5.6 vs 5.8

hmmm...

ok, but then wouldn't it be better (in the sense of being more maintainable) to write something like

    return wantarray ? @rv : $rv[-1];

?