I agree and i accept my folly. Thanks [?]
I guess being a novice clearly shows.
Forever....
Nikhil Babu


On Tue, Feb 10, 2009 at 7:50 PM, Chas. Owens <chas.ow...@gmail.com> wrote:

> On Tue, Feb 10, 2009 at 04:03, Nikhil Babu <nikhil.b...@gmail.com> wrote:
> > Hi,
> >
> > you can very well try the following
> >
> >  $x = ENV{'PWD'};
> >
> > this reads the present working directory from the $PWD environment
> > variable.
> snip
>
> Relying on environment variables is as bad as calling external
> programs.  The Cwd module is part of Core Perl for a reason.
>
> --
> Chas. Owens
> wonkden.net
> The most important skill a programmer can have is the ability to read.
>

<<330.gif>>

Reply via email to