while (split(/[, ]+/, )) { print @_ } #### #while (split(/[, ]+/, )) # Edit: Sorry - ignore this while (@_ = split(/[, ]+/, )) # Edit: I meant this { print @_ } #### me@here.com those@there.comothers@there.com you@there.comthem@there.com