Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Jürgen Exner
October 13, 2009, 4:12 am
rate this thread
[comp.lang.perl has been rm-grouped some 15 years ago. If your ISP still
carries this instead of comp.lang.perl.* you should wonder what else you
[x-post and f'up to comp.lang.perl.misc]
See the second and following parts of "perldoc -q directory":
"How do I add the directory my program lives in"
"fullPath...template.txt". Until I find out how to do this that line from my
patch file will read like . . .
If you don't call the perl interpreter explicitely but just use
"fullPath...xlate.pl ..." then you should find the full path in $0.
Extracting the directory from $0 is trivial using functions from
Well, $ENV does play a major role in deciding which executables to
use, so you cannot just ignore it.
- » FAQ 7.17 What's the difference between dynamic and lexical (static) scoping? Between loca...
- — Previous thread in » PERL Discussions