sub func { my (@arr) = @_; if (@arr[1] eq 'command') { ... } func(@ten_million);