The code:
use strict; use warnings; sub foo { print "In foo\n"; print "args = " . join(",",@_) . "\n" if @_; } foo; foo "a", "b", "c";
In foo In foo args = a,b,c
(Which is really really confusing if you spend your days in python, and occasionally have to edit something in ruby.)
The code could be assigning a new variable from a method return value, or just from an existing variable.
The code:
yields the output: