<?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: Module::Build </title>
	<atom:link href="http://www.dagolden.com/index.php/526/modulebuild/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dagolden.com/index.php/526/modulebuild/</link>
	<description>Whatever comes to mind</description>
	<lastBuildDate>Mon, 23 Jan 2012 03:43:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Phillip Smith</title>
		<link>http://www.dagolden.com/index.php/526/modulebuild/comment-page-1/#comment-2732</link>
		<dc:creator>Phillip Smith</dc:creator>
		<pubDate>Fri, 23 Oct 2009 02:08:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagolden.com/?p=526#comment-2732</guid>
		<description>Hey there David,

Indeed, that helps a lot. I&#039;ll give it another spin this weekend.  :-)

Phillip.</description>
		<content:encoded><![CDATA[<p>Hey there David,</p>
<p>Indeed, that helps a lot. I'll give it another spin this weekend.  :-)</p>
<p>Phillip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dagolden</title>
		<link>http://www.dagolden.com/index.php/526/modulebuild/comment-page-1/#comment-2703</link>
		<dc:creator>dagolden</dc:creator>
		<pubDate>Sat, 17 Oct 2009 03:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagolden.com/?p=526#comment-2703</guid>
		<description>local::lib sets ExtUtils::MakeMaker and Module::Build to install both Perl modules and programs to a specific directory.  That means that you don&#039;t have to know the intricacies of configuring CPAN.pm or CPANPLUS to do so.

Further, the incantation for a .bashrc file sets all the environment variables necessary.  In your example, you&#039;re not getting an architecture specific directory in PERL5LIB.

Here&#039;s an example of what local::lib will do using my &quot;cleanroom&quot; user:



&lt;blockquote&gt;$ perl -I$HOME/perl5/lib/perl5 -Mlocal::lib
export MODULEBUILDRC=&quot;/home/cleanroom/perl5/.modulebuildrc&quot;
export PERL_MM_OPT=&quot;INSTALL_BASE=/home/cleanroom/perl5&quot;
export PERL5LIB=&quot;/home/cleanroom/perl5/lib/perl5:/home/cleanroom/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:$PERL5LIB&quot;
export PATH=&quot;/home/cleanroom/perl5/bin:$PATH&quot;
&lt;/blockquote&gt;


Hope that helps clarify.

-- David</description>
		<content:encoded><![CDATA[<p>local::lib sets ExtUtils::MakeMaker and Module::Build to install both Perl modules and programs to a specific directory.  That means that you don't have to know the intricacies of configuring CPAN.pm or CPANPLUS to do so.</p>
<p>Further, the incantation for a .bashrc file sets all the environment variables necessary.  In your example, you're not getting an architecture specific directory in PERL5LIB.</p>
<p>Here's an example of what local::lib will do using my "cleanroom" user:</p>
<blockquote><p>$ perl -I$HOME/perl5/lib/perl5 -Mlocal::lib<br />
export MODULEBUILDRC="/home/cleanroom/perl5/.modulebuildrc"<br />
export PERL_MM_OPT="INSTALL_BASE=/home/cleanroom/perl5"<br />
export PERL5LIB="/home/cleanroom/perl5/lib/perl5:/home/cleanroom/perl5/lib/perl5/x86_64-linux-gnu-thread-multi:$PERL5LIB"<br />
export PATH="/home/cleanroom/perl5/bin:$PATH"
</p></blockquote>
<p>Hope that helps clarify.</p>
<p>-- David</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phillip Smith</title>
		<link>http://www.dagolden.com/index.php/526/modulebuild/comment-page-1/#comment-2700</link>
		<dc:creator>Phillip Smith</dc:creator>
		<pubDate>Fri, 16 Oct 2009 22:42:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagolden.com/?p=526#comment-2700</guid>
		<description>I was looking at local::lib a few weeks ago and couldn&#039;t quite figure out the advantage to using it over something like this in .bash_profile:

&lt;code&gt;
if [ -d $HOME/lib/perl5 ]; then
    PERL5LIB=${PERL5LIB:+$PERL5LIB:}$HOME/lib/perl5
fi
export PERL5LIB
&lt;/code&gt; 

I&#039;d really like to have a better understanding of when and why to use local::lib and wonder if there are some good examples that folks have to share? 

Phillip</description>
		<content:encoded><![CDATA[<p>I was looking at local::lib a few weeks ago and couldn't quite figure out the advantage to using it over something like this in .bash_profile:</p>
<p><code><br />
if [ -d $HOME/lib/perl5 ]; then<br />
    PERL5LIB=${PERL5LIB:+$PERL5LIB:}$HOME/lib/perl5<br />
fi<br />
export PERL5LIB<br />
</code> </p>
<p>I'd really like to have a better understanding of when and why to use local::lib and wonder if there are some good examples that folks have to share? </p>
<p>Phillip</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Buels</title>
		<link>http://www.dagolden.com/index.php/526/modulebuild/comment-page-1/#comment-2697</link>
		<dc:creator>Robert Buels</dc:creator>
		<pubDate>Fri, 16 Oct 2009 16:43:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagolden.com/?p=526#comment-2697</guid>
		<description>A further downside of the .modulebuildrc that local::lib makes is that the install_base path is hardcoded in there, so if you move that local::lib directory, its .modulebuildrc is no longer correct.</description>
		<content:encoded><![CDATA[<p>A further downside of the .modulebuildrc that local::lib makes is that the install_base path is hardcoded in there, so if you move that local::lib directory, its .modulebuildrc is no longer correct.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

