Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
In unix I have an env variable like this
Yes there are spaces at the front. I can read this usingNOTEUSERS=" me@us.com \ them@us.com\ " export NOTEUSERS
How can I split this up so that each entry of @noteusers array is just the email address without spacing etc. Thanksuse Env; my @noteusers = $NOTEUSERS;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Read UNIX environment variable
by fisher (Priest) on Feb 09, 2011 at 10:33 UTC | |
by DrHyde (Prior) on Feb 09, 2011 at 10:57 UTC | |
by fisher (Priest) on Feb 09, 2011 at 13:25 UTC | |
by Anonymous Monk on Feb 09, 2011 at 11:01 UTC | |
by Corion (Patriarch) on Feb 09, 2011 at 11:20 UTC | |
by Anonymous Monk on Feb 09, 2011 at 12:25 UTC | |
| |
by johngg (Canon) on Feb 09, 2011 at 11:13 UTC |
Back to
Seekers of Perl Wisdom