<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: [Perl] How To Get The Path Of An Included Library (.pm), Regardless Of Current Directory</title> <atom:link href="http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/feed/" rel="self" type="application/rss+xml" /><link>http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/</link> <description>where things have nothing to do with beer - tutorials, tips, how-tos, thoughts, hacks, and other techy nonsense</description> <lastBuildDate>Sat, 11 Feb 2012 17:00:25 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Kishore</title><link>http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/#comment-51338</link> <dc:creator>Kishore</dc:creator> <pubDate>Tue, 25 Jan 2011 14:35:45 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/#comment-51338</guid> <description>See whether this will helpful.
my $mod_name = &#039;Archive/Zip.pm&#039;;
foreach $dir (@INC)
{
my $file = &quot;$dir/$mod_name&quot;;
#print &quot;nCheckiing $file&quot;;
#`ls $file`;
if (-f $file)
{
print &quot;$mod_name is loaded from : $file&quot;;
exit 0;
}
}</description> <content:encoded><![CDATA[<p>See whether this will helpful.<br
/> my $mod_name = &#039;Archive/Zip.pm&#039;;<br
/> foreach $dir (@INC)<br
/> {<br
/> my $file = &#034;$dir/$mod_name&#034;;<br
/> #print &#034;nCheckiing $file&#034;;<br
/> #`ls $file`;<br
/> if (-f $file)<br
/> {<br
/> print &#034;$mod_name is loaded from : $file&#034;;<br
/> exit 0;<br
/> }<br
/> }</p> ]]></content:encoded> </item> <item><title>By: Jamie</title><link>http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/#comment-21302</link> <dc:creator>Jamie</dc:creator> <pubDate>Wed, 29 Jul 2009 04:47:21 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/#comment-21302</guid> <description>This saved me lots of time, thanks :)</description> <content:encoded><![CDATA[<p>This saved me lots of time, thanks <img
src='http://beerpla.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: shelly wagar</title><link>http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/#comment-14141</link> <dc:creator>shelly wagar</dc:creator> <pubDate>Fri, 06 Mar 2009 23:47:54 +0000</pubDate> <guid
isPermaLink="false">http://beerpla.net/2009/03/05/perl-how-to-get-the-path-of-an-included-library-pm-regardless-of-current-directory/#comment-14141</guid> <description>The solution is brilliant, woud never have thought of it</description> <content:encoded><![CDATA[<p>The solution is brilliant, woud never have thought of it</p> ]]></content:encoded> </item> </channel> </rss>
