title: In Perl, how do I get the directory or path of the current executing code?
body: <p>If I am in some library code, how do I determine the path to the file of the code that is currently executing?  I know how to get the path of the <em>top</em> perl file by looking at <code>ARGV</code>, but if I load a library, how can that <em>library</em> know which path it is at?</p>