sub A { return ('a', 'b', 'c'); } $a = A(); # $a gets value 'c' ($b) = A(); # $b gets value 'a'