in reply to Re: Module Self-Location
in thread Module Self-Location

Well, $0 only holds a relative path. For the full path, you should use FindBin's $Bin and $Script.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

Replies are listed 'Best First'.
(tye)Re: Module Self-Location
by tye (Sage) on Feb 08, 2002 at 19:25 UTC
      Thanks for the correction.

      _____________________________________________________
      Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
      s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;