Just another Perl shrine | |
PerlMonks |
Re: Re: Find the full path of the script at run timeby ibanix (Hermit) |
on Mar 13, 2003 at 00:02 UTC ( [id://242545]=note: print w/replies, xml ) | Need Help?? |
Thanks. I think this is what I will be going for. I also found This thread, and was considering FindBin, but apparently FindBin is broken. I'd still be interested in other options. If my script is invoked as ..\..\script.pl, won't that set $0 to ..\..\script.pl ? Cheers, ibanix $ echo '$0 & $0 &' > foo; chmod a+x foo; foo;
In Section
Seekers of Perl Wisdom
|
|