<?xml version="1.0" encoding="windows-1252"?>
<node id="713821" title="Re^2: who am I?" created="2008-09-26 03:51:02" updated="2008-09-25 23:51:02">
<type id="11">
note</type>
<author id="287302">
tsee</author>
<data>
<field name="doctext">
&lt;p&gt;Other posters have given the canonical answers to this already, so I won't repeat them.&lt;/p&gt;
&lt;p&gt;Just a word of caution: if you're using modules that put objects or CODE refs in the @INC array, i.e. potentially load code without reading from a file, either method will not work.&lt;/p&gt;&lt;p&gt;One such case are packaging modules such as PAR or ex::lib::zlib. So depending on how your module is used, the answer is: It's impossible to find its filename!&lt;/p&gt;
&lt;p&gt;If you're going to write code that requires the location of the module file name, please think about it some more. It might not be the smartest way to solve your problem.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;Steffen&lt;/p&gt;</field>
<field name="root_node">
713487</field>
<field name="parent_node">
713608</field>
</data>
</node>
