in reply to Question about returning array from sub
That's normal behavior.
sub backatcha { @a = (1,2,3); return @a; } # @b will have same contents as @a @b = backatcha(); [download]