sub logger { my ($arg) = @_; # The copying happens here, so ... # no need to do it in the caller. }