while(<>) { split; warn "processing " . @_ . " tokens\n"; &process; # implicitly takes @_ }