davemabe has asked for the wisdom of the Perl Monks concerning the following question:
prints out the legal notice from the directory where the user happens to be running the logon script from. I would like to make this syntax work in perl but a simple open(FILE,"\%0\\..\\legal.txt"); doesn't work. I realize there is a $ENV{LOGONSERVER} variable that could work, but due to various reasons, that variable doesn't get set in all circumstances. Any ideas?type %0\..\legal.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: DOS's %0\..\ Perl Equivalent
by tye (Sage) on Jan 19, 2001 at 22:46 UTC | |
|
Re: DOS's %0\..\ Perl Equivalent
by mr.nick (Chaplain) on Jan 19, 2001 at 22:23 UTC | |
by chipmunk (Parson) on Jan 19, 2001 at 23:38 UTC | |
|
Re: DOS's %0\..\ Perl Equivalent
by epoptai (Curate) on Jan 20, 2001 at 02:35 UTC | |
by tye (Sage) on Jan 20, 2001 at 04:19 UTC | |
|
Re: DOS's %0\..\ Perl Equivalent
by the_slycer (Chaplain) on Jan 19, 2001 at 21:51 UTC | |
by davemabe (Monk) on Jan 19, 2001 at 22:06 UTC |