Either abandon FindBind entirely in favor of File::Spec, or just run the returned value through File::Spec->canonpath() and forget about it (or patch FindBin to do that automatically). canonpath should always eliminate a trailing dir separator if there is one.
update: For figuring out what's going on (if you still want to), use Devel::Trace;
In reply to Re: FindBin works differently on Fedora Core 2?
by PodMaster
in thread FindBin works differently on Fedora Core 2?
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |