<?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: AutoLoader Considered Harmful?</title>
	<atom:link href="http://www.dereferenced.com/2011/07/30/autoloader-considered-harmful/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dereferenced.com/2011/07/30/autoloader-considered-harmful/</link>
	<description>A preponderance of Perl, an excess of XML, and additional alliterations.</description>
	<lastBuildDate>Thu, 19 Jan 2012 08:50:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: zgrim</title>
		<link>http://www.dereferenced.com/2011/07/30/autoloader-considered-harmful/comment-page-1/#comment-1104</link>
		<dc:creator>zgrim</dc:creator>
		<pubDate>Wed, 17 Aug 2011 08:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.dereferenced.com/?p=163#comment-1104</guid>
		<description>AutoSplit is evil :) just recently I encountered a weird bug where I was running some forked code and if it needed to chroot, Storable wouldn&#039;t find it&#039;s needed .al files for freeze/thaw, which was solved via a dummy load of freeze/thaw before the fork(). Very unpleasant debugging session though :)</description>
		<content:encoded><![CDATA[<p>AutoSplit is evil :) just recently I encountered a weird bug where I was running some forked code and if it needed to chroot, Storable wouldn&#8217;t find it&#8217;s needed .al files for freeze/thaw, which was solved via a dummy load of freeze/thaw before the fork(). Very unpleasant debugging session though :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leon Timmermans</title>
		<link>http://www.dereferenced.com/2011/07/30/autoloader-considered-harmful/comment-page-1/#comment-1000</link>
		<dc:creator>Leon Timmermans</dc:creator>
		<pubDate>Sun, 31 Jul 2011 13:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dereferenced.com/?p=163#comment-1000</guid>
		<description>90% of the time AutoLoader is a premature optimization, and in the rare case it isn&#039;t that probably points out a badly structured module. It&#039;s a source of subtle bugs that should be avoided.</description>
		<content:encoded><![CDATA[<p>90% of the time AutoLoader is a premature optimization, and in the rare case it isn&#8217;t that probably points out a badly structured module. It&#8217;s a source of subtle bugs that should be avoided.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aristotle Pagaltzis</title>
		<link>http://www.dereferenced.com/2011/07/30/autoloader-considered-harmful/comment-page-1/#comment-999</link>
		<dc:creator>Aristotle Pagaltzis</dc:creator>
		<pubDate>Sun, 31 Jul 2011 12:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dereferenced.com/?p=163#comment-999</guid>
		<description>I advise to get rid of any uses. The POD should be updated to advise against its use too.

I believe it was not long ago that the last use of AutoLoader in another core module was removed, although I don’t recall the details. There are still some uses in dual-life modules.</description>
		<content:encoded><![CDATA[<p>I advise to get rid of any uses. The POD should be updated to advise against its use too.</p>
<p>I believe it was not long ago that the last use of AutoLoader in another core module was removed, although I don’t recall the details. There are still some uses in dual-life modules.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabor Szabo</title>
		<link>http://www.dereferenced.com/2011/07/30/autoloader-considered-harmful/comment-page-1/#comment-998</link>
		<dc:creator>Gabor Szabo</dc:creator>
		<pubDate>Sun, 31 Jul 2011 11:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dereferenced.com/?p=163#comment-998</guid>
		<description>I have other issues with the AutoSplit though it might just show my lack of knowledge. When you are running the already split up code and you encounter a bug it is quite hard to debug and fix the code as that requires mapping it back to the source.

And I already worked at companies that &lt;b&gt;lost&lt;/b&gt; the original file.

So I don&#039;t recommend any of my clients to use that and when I encounter a piece of code I&#039;ll try to get rid of it while refactoring.

That does not mean that dynamic loading is bad. I just would keep modules intact. So if you&#039;d like to load some code conditionally, go ahead do it. But put it in its own module. By design. That works well. Splitting up code is IMHO not.

BTW I love both Devel::Cover and Perl::Critic</description>
		<content:encoded><![CDATA[<p>I have other issues with the AutoSplit though it might just show my lack of knowledge. When you are running the already split up code and you encounter a bug it is quite hard to debug and fix the code as that requires mapping it back to the source.</p>
<p>And I already worked at companies that <b>lost</b> the original file.</p>
<p>So I don&#8217;t recommend any of my clients to use that and when I encounter a piece of code I&#8217;ll try to get rid of it while refactoring.</p>
<p>That does not mean that dynamic loading is bad. I just would keep modules intact. So if you&#8217;d like to load some code conditionally, go ahead do it. But put it in its own module. By design. That works well. Splitting up code is IMHO not.</p>
<p>BTW I love both Devel::Cover and Perl::Critic</p>
]]></content:encoded>
	</item>
</channel>
</rss>
