foo(bar => 'baz'); sub foo { my %arg = @_; print "These were the 'vars' passed to me:\n"; print "\t$_\n" for keys %arg; }