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.

-Sharad



-----Original Message-----
From: Casey West [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 02, 2003 3:12 PM
To: Gupta, Sharad
Cc: [EMAIL PROTECTED]
Subject: Re: Splitting a path


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.  :-)

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

  Casey West

-- 
Shooting yourself in the foot with Powerbuilder 
While attempting to load the gun you discover that the LoadGun system
function is buggy; as a work around you tape the bullet to the outside
of the gun and unsuccessfully attempt to fire it with a nail. In
frustration you club your foot with the butt of the gun and explain to
your client that this approximates the functionality of shooting
yourself in the foot and that the next version of Powerbuilder will
fix it. 

Reply via email to