FindBin tries harder than $0 to resolve the path of the script, so I would always recommend the former.
The issue I have with this is: $FindBin::Bin will not resolve a symbolic link.
Sounds like you want $FindBin::RealBin instead.
In reply to Re: Cwd::abs_path or FindBin::Bin?
by haukex
in thread Cwd::abs_path or FindBin::Bin?
by Skeeve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |