Isn't relying on cwd less robust than using __FILE__? I guess I'm having trouble coming up with what might chdir/cd on/under the script, so maybe not.
In reply to Re^2: Recursively walk up a directory tree
by Your Mother
in thread Recursively walk up a directory tree
by 1nickt
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |