in reply to Changing path to home directory
From chdir:
If EXPR is omitted, changes to the directory specified by $ENV{HOME}, if set; if not, changes to the directory specified by $ENV{LOGDIR}. [...] If neither is set, chdir does nothing. It returns true on success, false otherwise. See the example under die.
So my (entirely uneducated) understanding is that
As usual, I don't claim to actually know much if anything about Perl (I'm but a pony, after all!), and others will be able to provide more detailed answers.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Changing path to home directory
by syphilis (Archbishop) on Mar 05, 2015 at 01:56 UTC | |
by cheako (Beadle) on Mar 05, 2015 at 04:36 UTC |