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.
In reply to Re: Changing path to home directory
by AppleFritter
in thread Changing path to home directory
by The_Last_Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |