my @args=@_; # or my %args=@_ if you know it's going to be a hash