PerlMe has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to use chdir perl call
But the call always returns false. what are the probable reasons for this. The permission for the $CURRDIR directory are good.
But the call always returns false. what are the probable reasons for this. The permission for the $CURRDIR directory are good.
Output:: couldn't change the directory$DATE = `date +%Y-%m-%d`; $CURRDIR = '/home/'.$USER.'/'.$DATE; #chdir ($CURRDIR) || die "couldn't change the directory";
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: chdir: failure
by Zaxo (Archbishop) on Jul 17, 2007 at 05:31 UTC | |
Re: chdir: failure
by cdarke (Prior) on Jul 17, 2007 at 08:28 UTC | |
by Rabbi Bob (Scribe) on Jul 17, 2007 at 11:13 UTC | |
by PerlMe (Novice) on Jul 17, 2007 at 19:16 UTC | |
Re: chdir: failure
by dsheroh (Monsignor) on Jul 17, 2007 at 05:35 UTC |
Back to
Seekers of Perl Wisdom