### dump everything to a file sub dump { my (%params) = @_; # blah blah } dump(-file=>"foo.txt", -code=>"full", -blah=>"etc");