No, $0 doesn't always contain a full, absolute path. But it isn't like argv[0]. That is, it always (on all platforms) lets you know what directory your script is in. You might have to do rel2abs() on it. See FindBin is broken (RE: How do I get the full path to the script executing?) for more.
- tye (but my friends call me "Tye")In reply to (tye)Re: Breaking a script into smaller files
by tye
in thread Breaking a script into smaller files
by John M. Dlugosz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |