On Sat, Aug 02, 2003 at 03:20:14PM -0700, Gupta, Sharad wrote:
> From: Casey West [mailto:[EMAIL PROTECTED]
>> It was Saturday, August 02, 2003 when Gupta, Sharad took the soap box, saying:
>> : 
>> : Hi,
>> : 
>> : I have a path which may look like:
>> 
>>   use Env [EMAIL PROTECTED];
>> 
>>   print "$_\n" foreach @PATH;
>> 
>> I love the Perl core.  :-)
>
> I miscommunicated here, by path i did'nt meant the PATH env 
> variable.  By Path i meant any  string having some directories 
> seperated by ":" , say it could be
> 
> FOO=E:\foo:D:\bar.
> 
> And yes it can be in the %ENV.

Then Casey's suggestion will work for you with just one tiny
modification.

    use Env [EMAIL PROTECTED];

    print "$_\n" foreach @FOO;

>> For more information read http://search.cpan.org/perldoc?Env

This is still recommended.  ^_^

And it would be great if you could arrange for your mail/news
reader to "quote" the text of the original message rather than
appending it unmodified at the end of your response.

-- 
Steve

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to