I avoid FindBin since the it has problems. There are easy to use alternatives:
| Script's Path (Fully Qualified) |
|
| Script's Name |
|
| Script's Dir (Fully Qualified) |
|
Update: I originally use File::Spec::Functions's rel2abs, but it doesn't handle symlinks properly. I've updated the table to use Cwd's realpath which does, as per replies.
In reply to What script is this, and where is it? (Re: who am I?)
by ikegami
in thread who am I?
by momo33
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |