<?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: Codependent testing with -Mylib</title>
	<atom:link href="http://www.dagolden.com/index.php/77/codependent-testing-with-mylib/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dagolden.com/index.php/77/codependent-testing-with-mylib/</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: Matt S Trout</title>
		<link>http://www.dagolden.com/index.php/77/codependent-testing-with-mylib/comment-page-1/#comment-15</link>
		<dc:creator>Matt S Trout</dc:creator>
		<pubDate>Tue, 05 May 2009 11:38:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagolden.com/?p=77#comment-15</guid>
		<description>I&#039;ve already fought this fight with local::lib - the answer is to just say sod it and generate a PERL5LIB env var. So if you were to make ylib.pm do something similar, you&#039;d maybe have a usage of:

&lt;code&gt;
  eval $(perl -Mylib=export_perl5lib)
  make test
&lt;/code&gt;

or whatever. If it&#039;s in PERL5LIB it gets unrolled into -I switches by Test::Harness automatically which means apart from the very occasional buggy test that uses taint, re-executes $^X itself, -and- forgets to unroll PERL5LIB into -I switches. And we people using local::lib have been slowly shaking those out and getting them fixed anyway :)</description>
		<content:encoded><![CDATA[<p>I've already fought this fight with local::lib - the answer is to just say sod it and generate a PERL5LIB env var. So if you were to make ylib.pm do something similar, you'd maybe have a usage of:</p>
<p><code><br />
  eval $(perl -Mylib=export_perl5lib)<br />
  make test<br />
</code></p>
<p>or whatever. If it's in PERL5LIB it gets unrolled into -I switches by Test::Harness automatically which means apart from the very occasional buggy test that uses taint, re-executes $^X itself, -and- forgets to unroll PERL5LIB into -I switches. And we people using local::lib have been slowly shaking those out and getting them fixed anyway :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

