for (@_) { if (ref($_) eq "HASH") { push @options, $_; } else { push @exports, $_; } }