http://qs321.pair.com?node_id=887163

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

In unix I have an env variable like this
NOTEUSERS=" me@us.com \ them@us.com\ " export NOTEUSERS
Yes there are spaces at the front. I can read this using
use Env; my @noteusers = $NOTEUSERS;
How can I split this up so that each entry of @noteusers array is just the email address without spacing etc. Thanks