<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>transfixed but not dead! &#187; CPAN</title>
	<atom:link href="http://transfixedbutnotdead.com/tag/cpan/feed/" rel="self" type="application/rss+xml" />
	<link>http://transfixedbutnotdead.com</link>
	<description>my ramblings on life, work &#38; anything left in-between</description>
	<lastBuildDate>Fri, 03 Feb 2012 16:03:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='transfixedbutnotdead.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/0a317653027efb1ab2bf8adde3dcb067?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>transfixed but not dead! &#187; CPAN</title>
		<link>http://transfixedbutnotdead.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://transfixedbutnotdead.com/osd.xml" title="transfixed but not dead!" />
	<atom:link rel='hub' href='http://transfixedbutnotdead.com/?pushpress=hub'/>
		<item>
		<title>First reported bug for one of my CPAN modules</title>
		<link>http://transfixedbutnotdead.com/2010/02/21/first-reported-bug-for-one-of-my-cpan-modules/</link>
		<comments>http://transfixedbutnotdead.com/2010/02/21/first-reported-bug-for-one-of-my-cpan-modules/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 18:41:38 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=854</guid>
		<description><![CDATA[It should invoke some trepidation when seeing the first ever reported bug hitting your inbox. However it was the complete opposite because I got a nice warm feeling about the fact that something I&#8217;ve written is being used in the wild. Still the bug(s) needs fixing and its understandable that prolific CPAN / opensource authors [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=854&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It should invoke some trepidation when seeing the first ever reported bug hitting your inbox.   However it was the complete opposite because I got a nice warm feeling about the fact that something I&#8217;ve written is being used in the wild.</p>
<p>Still the bug(s) needs fixing and its understandable that prolific CPAN / opensource authors may get bogged down having to find time to fix bugs in heavily used projects.</p>
<p>Fortunate for me I only have a <a href="http://search.cpan.org/~draegtun/">few CPAN modules</a> at this time and I doubt they&#8217;re heavily used! Even more lucky that in this case  the bug was only related to <a href="https://rt.cpan.org/Ticket/Display.html?id=54531">testing on Windows</a>.</p>
<p>So if you&#8217;ve written software then you have bugs!  Thus you need a good <a href="http://en.wikipedia.org/wiki/Issue_tracking_system">issue tracking system</a> to keep a handle on things. Luckily <a href="http://cpan.org">CPAN</a> comes with its own  <a href="http://en.wikipedia.org/wiki/Request_Tracker">Request Tracker (RT)</a> from <a href="http://bestpractical.com/rt">Best Practical</a>.   My first reported bug came <a href="https://rt.cpan.org/Dist/ByMaintainer.html?Name=DRAEGTUN">via this</a> last week.</p>
<p>You can change your CPAN module page to <a href="http://babyl.dyndns.org/techblog/2010/02/contributing-to-cpan-pause-id-bug-tracking-and-code-repositories.html">point to any other issue tracker</a> should you wish this (see part about amending your meta tag and also <a href="http://transfixedbutnotdead.com/2009/05/01/repository-link-now-appearing-on-cpan/">my old post</a> on repo link).    But I&#8217;m more than happy to go with RT and there maybe good reasons for doing this because it maybe better integrated into the CPAN toolchain (my PAUSE login worked with RT).</p>
<p>BTW, my <em>testing with Windows</em> issue is the usual pathname and EOL delimiter differences.  Just because it leaves your <em>box</em> with 100% passes it would be silly to expect it arrives at <a href="http://twitter.com/mathie/status/4704215986">someone else&#8217;s <em>box</em> the same</a> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>/I3az/</p>
<p>PS. Related references:</p>
<ul>
<li><a href="http://transfixedbutnotdead.com/2009/01/23/cpan-smoke-testing-an-unsung-hero/">CPAN Smoke Testing: An unsung hero</a>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/854/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/854/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/854/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=854&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2010/02/21/first-reported-bug-for-one-of-my-cpan-modules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Couple of CPAN pressies</title>
		<link>http://transfixedbutnotdead.com/2009/12/26/couple-of-cpan-pressies/</link>
		<comments>http://transfixedbutnotdead.com/2009/12/26/couple-of-cpan-pressies/#comments</comments>
		<pubDate>Sat, 26 Dec 2009 23:17:02 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[Devel::Declare]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=783</guid>
		<description><![CDATA[Just uploaded a couple of new modules to CPAN: Acme::URL PerlX::QuoteOperator The first one you is just a small xmas cracker that you will already know about from my &#8220;bare URL&#8221; post from last week. Just pull, enjoy for a little while and then chuck away like most xmas cracker toys The second one is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=783&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just uploaded a couple of new modules to CPAN:</p>
<ul>
<li><a href="http://search.cpan.org/dist/Acme-URL/">Acme::URL</a>
<li><a href="http://search.cpan.org/dist/PerlX-QuoteOperator/">PerlX::QuoteOperator</a>
</ul>
<p>The first one you is just a small xmas cracker that you will already know about from my <a href="http://transfixedbutnotdead.com/2009/12/16/url-develdeclare-and-no-strings-attached/">&#8220;bare URL&#8221;</a> post from last week.  Just pull, enjoy for a little while and then chuck away like most xmas cracker toys <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The second one is a tad similar (ie. <a href="http://search.cpan.org/dist/Devel-Declare/">Devel::Declare</a>) but with a much more sympathetic syntax by allowing you to create new <a href="http://perldoc.perl.org/perlop.html#Quote-Like-Operators">Quote-Like Operators</a> in Perl with Perl.   </p>
<p>For a good end product exemplar have a look at <a href="http://search.cpan.org/dist/PerlX-QuoteOperator/lib/PerlX/QuoteOperator/URL.pm">PerlX::QuoteOperator::URL</a> included with the distribution:</p>
<p><pre class="brush: perl;">
use PerlX::QuoteOperator::URL 'qh';

my $content = qh{ http://transfixedbutnotdead.com/ };
</pre></p>
<p>There is no scary parsing going on with this example.  PerlX::QuoteOperator / Devel::Declare simply hits the &#8216;qh&#8217; keyword and converts it to:</p>
<p><pre class="brush: perl;">
qh qq{ http://transfixedbutnotdead.com/ }
</pre></p>
<p>And &#8216;qh&#8217; is a subroutine with a ($) prototype.   So nothing too sinister (unless you really do abhor subroutine prototypes!), just a simple macro which gives the appearance that we have new quote-like operators.</p>
<p>Certainly an interesting concept to be able to produce new quote-like operators in Perl.  So hopefully PerlX::QuoteOperator might find its way under a few xmas trees <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Merry Xmas &amp; happy St. Stephen&#8217;s day to everyone.</p>
<p>/I3az/</p>
<p>PS.  I chose the PerlX::* because <a href="http://search.cpan.org/~gugod/">gugod</a> as already provided some wonderful Devel::Declare Perl extending modules under this <a href="http://search.cpan.org/search?query=perlx%3A%3A*&amp;mode=distributions">namespace</a>.   I feel its in the same vein so hopefully a good place for it to live.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/783/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/783/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/783/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=783&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/12/26/couple-of-cpan-pressies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>POD &amp; CPAN funny</title>
		<link>http://transfixedbutnotdead.com/2009/08/03/pod-cpan-funny/</link>
		<comments>http://transfixedbutnotdead.com/2009/08/03/pod-cpan-funny/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 20:08:12 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[POD]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=509</guid>
		<description><![CDATA[File this under&#8230;. &#8220;you learn something new every day&#8221; My last upload of MooseX::SingletonMethod produced a funny in the module documentation (POD) on CPAN. It was showing the same POD in both modules (MX::SM &#38; MX::SM::Role). And not only was it showing MX::SM::Role POD in both but when you selected source you would only see [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=509&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>File this under&#8230;.</p>
<blockquote><p>&#8220;you learn something new every day&#8221;</p></blockquote>
<p>My last upload of <a href="http://search.cpan.org/~draegtun/MooseX-SingletonMethod-0.02/">MooseX::SingletonMethod</a> produced a funny in the module documentation (<a href="http://en.wikipedia.org/wiki/Plain_Old_Documentation">POD</a>) on CPAN.  It was showing the same POD in both modules (MX::SM &amp; MX::SM::Role).</p>
<p>And not only was it showing MX::SM::Role POD in both but when you selected <i>source</i> you would only see code for MX::SM!?</p>
<p>How very odd??   (and u can still see this when u click above 0.02 link).</p>
<p>Here is an important snippet of how the modules / POD looked&#8230; first for MooseX::SingletonMethod:<br />
<pre class="brush: perl;">
package MooseX::SingletonMethod;

...

1;

__END__

=head1 NAME

MooseX::SingletonMethod - Moose with Singleton Method facility.

...
</pre></p>
<p>and for MooseX::SingletonMethod::Role<br />
<pre class="brush: perl;">
package MooseX::SingletonMethod::Role;
...
  
1;

__END__

=head1 NAME

MooseX::SingletonMethod - Role providing Singleton Method option

...
</pre></p>
<p>Spot the mistake?    </p>
<p>The last line shown in above module should be&#8230;.</p>
<p><code>MooseX::SingletonMethod::Role - Role providing Singleton Method option</code></p>
<p>Opps&#8230; missed off the ::Role part  <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I thought the CPAN docs were picked up from and assigned via <i>package</i> declaration&#8230; obviously not!   Also the POD coverage tests didn&#8217;t spot anything either (perhaps it might have done if I completely foobar the POD name! )</p>
<p>Anyway&#8230; all&#8217;s well that ends well <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/509/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/509/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/509/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=509&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/08/03/pod-cpan-funny/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing MooseX::SingletonMethod (a little bit!)</title>
		<link>http://transfixedbutnotdead.com/2009/07/31/changing-moosexsingletonmethod-a-little-bit/</link>
		<comments>http://transfixedbutnotdead.com/2009/07/31/changing-moosexsingletonmethod-a-little-bit/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 21:00:23 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[moose]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[roles]]></category>
		<category><![CDATA[singleton methods]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=501</guid>
		<description><![CDATA[It never quite sat comfortably with me that MooseX::SingletonMethod name didn&#8217;t convey the fact it was a Moose role and not a Moose class module. Other MooseX modules on CPAN showed there was no requirement to be succinct in this distinction. Still having posted my last little ditty on having role attached to Moose I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=501&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It never quite sat comfortably with me that MooseX::SingletonMethod name didn&#8217;t convey the fact it was a Moose role and not a Moose class module.  Other MooseX modules on CPAN showed there was no requirement to be succinct in this distinction. </p>
<p>Still having posted my last little ditty on <a href="http://transfixedbutnotdead.com/2009/07/25/moose-with-role-already-attached/">having role attached to Moose</a> I thought I make some slight amendments to MooseX::SingletonMethod module to pull this slightly annoying thorn from my paw.</p>
<p>Version 0.02 will soon be on CPAN and now works either of these ways:</p>
<p><pre class="brush: perl;">
package Baz;
use MooseX::SingletonMethod;
...
no MooseX::SingletonMethod;
1;
</pre></p>
<p>or as a role:<br />
<pre class="brush: perl;">
package Baz;
use Moose;
with 'MooseX::SingletonMethod::Role';
...
no Moose;
1;
</pre></p>
<p>Hate to change API but MX::SM is only a a few weeks old so I&#8217;m hopeful that the hordes of users that use this module will understand <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=501&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/07/31/changing-moosexsingletonmethod-a-little-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>MooseX::SingletonMethod now on CPAN</title>
		<link>http://transfixedbutnotdead.com/2009/07/15/moosexsingletonmethod-now-on-cpan/</link>
		<comments>http://transfixedbutnotdead.com/2009/07/15/moosexsingletonmethod-now-on-cpan/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 18:09:28 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[moose]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[singleton methods]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=488</guid>
		<description><![CDATA[So has promised or was it threatened I&#8217;ve packaged and uploaded MooseX::SingletonMethod to CPAN. Here is the synopsis from the pod: MooseX is the namespace for adding extensions around Moose. Its the playground of future Moose features where modules get torn, beaten and bruised in a development rite of passage. It would one day be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=488&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So has promised or was it <a href="http://transfixedbutnotdead.com/2009/07/07/moose-singleton-method-now-without-roles/">threatened</a> I&#8217;ve packaged and uploaded <a href="http://search.cpan.org/dist/MooseX-SingletonMethod/">MooseX::SingletonMethod</a> to CPAN.</p>
<p>Here is the synopsis from the pod:</p>
<p><pre class="brush: perl;">
package Baz;
use Moose;
with 'MooseX::SingletonMethod::Role';
no Moose;

package main;
my $baz = Baz-&gt;new;
my $foo = Baz-&gt;new;

# add singleton method called &quot;baz&quot; just to $baz and not to Baz class
$baz-&gt;add_singleton_method( baz =&gt; sub { 'baz!' } ); 

say $baz-&gt;baz;   # =&gt; 'baz!'
say $foo-&gt;baz;   # ERROR: Can't locate object method &quot;baz&quot;....
</pre></p>
<p>MooseX is the namespace for adding extensions around Moose.  Its the playground of future Moose features where modules get torn, beaten and bruised in a development rite of passage.   </p>
<p>It would one day be nice to see MooseX::SingletonMethod features grow up and become part of standard Moose family <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>MooseX::SingletonMethod can also be found in these exotic areas of the web:</p>
<ul>
<li><a href="http://github.com/draegtun/MooseX-SingletonMethod/tree/master">on GitHub</a>
<li><a href="https://www.ohloh.net/p/MooseX-SingletonMethod">on Ohloh</a>
<li><a href="http://freshmeat.net/projects/moosexsingletonmethod"> and on FreshMeat</a>
</ul>
<p>/I3az/</p>
<p>&nbsp;</p>
<p>PS. While sticking my flag into the MooseX::SingletonMethod namespace I noticed the following module by <a href="http://search.cpan.org/~simon/">Simon Cozens</a>:</p>
<ul>
<li><a href="http://search.cpan.org/dist/Class-SingletonMethod/">Class-SingletonMethod</a>
</ul>
<p>I&#8217;m amazed this as passed me by especially has I first came to understand Singleton Methods from Simon&#8217;s excellent &#8220;Advanced Perl Programming&#8221; book.   Just shows you how deep and diverse the CPAN universe is!</p>
<p>Update: Code now uses MX::SM::Role</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/488/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/488/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/488/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=488&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/07/15/moosexsingletonmethod-now-on-cpan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Searching CPAN</title>
		<link>http://transfixedbutnotdead.com/2009/05/31/searching-cpan/</link>
		<comments>http://transfixedbutnotdead.com/2009/05/31/searching-cpan/#comments</comments>
		<pubDate>Sun, 31 May 2009 21:20:29 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=376</guid>
		<description><![CDATA[It may surprise you to know that I don&#8217;t normally go to search.cpan.org when I want to find something on CPAN. Actually thats not totally true because I do use search.cpan.org but via CPANTools which provides a nice suggest dropdown as you type in the search textbox. Another place I occasionally go to is KobeSearch [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=376&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It may surprise you to know that I don&#8217;t normally go to <a href="http://search.cpan.org">search.cpan.org</a> when I want to find something on CPAN.</p>
<p>Actually thats not totally true because I do use search.cpan.org but via <a href="http://cpantools.com">CPANTools</a> which provides a nice suggest dropdown as you type in the search textbox.</p>
<p>Another place I occasionally go to is <a href="http://kobesearch.cpan.org/">KobeSearch</a> but I prefer the standard CPAN look (a true design classic IMHO) to the uwinnipeg.ca one.</p>
<p>For something really shiny have a look at <a href="http://cpantools.com/beta/">CPANTools Beta</a></p>
<p>/I3az/</p>
<p>Update:  Nearly forgot this excellent <a href="http://www.google.com/coop/cse?cx=008709583689349882482%3Aj5fu_7cy8vu">custom Google search</a>.  Also note there is also a <a href="http://www.google.com/coop/cse?cx=008709583689349882482%3Aw2_rnxeqmu0">Perl custom search</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/376/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/376/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/376/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=376&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/05/31/searching-cpan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>CPAN recent upload feed</title>
		<link>http://transfixedbutnotdead.com/2009/05/22/cpan-recent-upload-feed/</link>
		<comments>http://transfixedbutnotdead.com/2009/05/22/cpan-recent-upload-feed/#comments</comments>
		<pubDate>Fri, 22 May 2009 11:44:52 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=368</guid>
		<description><![CDATA[The CPAN upload RSS feed I subscribe to has been a bit quiet lately showing no uploads at this moment? This is a bit unusual because module uploads are normally constantly flowing onto CPAN. So i checked my Google Reader settings and it had this strange RSS address&#8230; http://unknownplace.org/cpanrecent/rss Where did I get this from? [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=368&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The CPAN upload RSS feed I subscribe to has been a bit quiet lately showing no uploads at this moment?    This is a bit unusual because module uploads are normally constantly flowing onto CPAN.</p>
<p>So i checked my Google Reader settings and it had this strange RSS address&#8230;</p>
<p><code>   http://unknownplace.org/cpanrecent/rss</code></p>
<p>Where did I get this from?   Or did Google Reader insert this in at some point??   All very strange???</p>
<p>The site in question says its down for maintenance.   Anyway I&#8217;ve updated my settings to use search.cpan.org RSS feed at&#8230;.</p>
<ul>
<li><a href="http://search.cpan.org/recent">http://search.cpan.org/recent </a>
</li>
</ul>
<p>Which translates into this feed&#8230;.</p>
<p><code>   http://search.cpan.org/uploads.rdf</code></p>
<p>Now happily seeing new uploads to CPAN <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/368/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/368/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/368/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=368&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/05/22/cpan-recent-upload-feed/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Repository link now appearing on CPAN</title>
		<link>http://transfixedbutnotdead.com/2009/05/01/repository-link-now-appearing-on-cpan/</link>
		<comments>http://transfixedbutnotdead.com/2009/05/01/repository-link-now-appearing-on-cpan/#comments</comments>
		<pubDate>Fri, 01 May 2009 17:45:16 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[Module::Build]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=301</guid>
		<description><![CDATA[Had me looking twice because seeing repository link on module pages on CPAN was new to me&#8230;.. Yes it is new and I wasn&#8217;t the first to spot it: hanekomu&#8217;s Perl blog: Metadata on search.cpan.org Hanekomu shows how to implement it in Module::Install. And Alexandr Ciornii comment points to how it can be done in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=301&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Had me looking twice because seeing repository link on module pages on CPAN was new to me&#8230;..</p>
<p><a href="http://www.flickr.com/photos/draegtun/3490784819/" title="repo-line by draegtun, on Flickr"><img src="http://farm4.static.flickr.com/3573/3490784819_c867ea5ee0.jpg" width="500" height="157" alt="repo-line" /></a></p>
<p>Yes it is new and I wasn&#8217;t the first to spot it:  <a href="http://hanekomu.at/blog/dev/20090319-2129-search_cpan_metadata.html">hanekomu&#8217;s Perl blog: Metadata on search.cpan.org</a></p>
<p>Hanekomu shows how to implement it in Module::Install.   And Alexandr Ciornii comment points to how it can be done in Module::Build.</p>
<p>This is what you need to do in Module::Build (see meta_merge part):</p>
<p><pre class="brush: perl;">
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build-&gt;new(
    module_name         =&gt; 'Builder',
    license             =&gt; 'perl',
    dist_author         =&gt; 'Barry Walsh &lt;draegtun@cpan.org&gt;',
    dist_version_from   =&gt; 'lib/Builder.pm',
    build_requires =&gt; {
        'Test::More' =&gt; 0,
        'Carp'       =&gt; 0,
    },
    add_to_cleanup      =&gt; [ 'Builder-*' ],
    create_makefile_pl  =&gt; 'traditional',

    meta_merge =&gt; {
      resources =&gt; {
          bugtracker =&gt; 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Builder',
          repository  =&gt; 'http://github.com/draegtun/builder/tree/master'
      }
    },
);

$builder-&gt;create_build_script();
</pre></p>
<p>Running &#8220;./Build distmeta&#8221; produces the correct META.yml</p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/301/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/301/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/301/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=301&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/05/01/repository-link-now-appearing-on-cpan/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>

		<media:content url="http://farm4.static.flickr.com/3573/3490784819_c867ea5ee0.jpg" medium="image">
			<media:title type="html">repo-line</media:title>
		</media:content>
	</item>
		<item>
		<title>CPAN Smoke Testing: An unsung hero</title>
		<link>http://transfixedbutnotdead.com/2009/01/23/cpan-smoke-testing-an-unsung-hero/</link>
		<comments>http://transfixedbutnotdead.com/2009/01/23/cpan-smoke-testing-an-unsung-hero/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 20:20:35 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=156</guid>
		<description><![CDATA[One of the great things about CPAN is that it runs automated smoke testing on all modules uploaded to it. I recently implemented a small feature in my Builder module and CPAN currently informs me that my test suite as passed 63 times, failed on 7 occasasions and returned an unknown status 3 times. Here&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=156&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the great things about CPAN is that it runs automated smoke testing on all modules uploaded to it.</p>
<p>I recently implemented a small feature in my Builder module and CPAN currently informs me that my test suite as passed 63 times, failed on 7 occasasions and returned an unknown status 3 times.   Here&#8217;s the current breakdown of the smoke testing matrix of these different versions of Perl &amp; OS&#8217;es the Bulder test suite as been run on.</p>
<p>   <a href="http://www.cpantesters.org/show/Builder.html#Builder-0.02">http://www.cpantesters.org/show/Builder.html#Builder-0.02</a></p>
<p>   NB. you will probably need to select 0.02 now that I&#8217;ve uploaded new versions of Builder</p>
<p>From this I can see that there is a problem with one of my tests when running on Perl 5.6.*&#8230;..</p>
<p>   <a href="http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg2976740.html">http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg2976740.html</a></p>
<p>The culprit was this bit of code in my builder_xml_output.t test&#8230;</p>
<p><pre class="brush: perl;">
  my $got;
  open my $fh, '&gt;', \$got or die $!; 
</pre></p>
<p>That second line creates a filehandle $fh which writes to an in memory file held in the scalar $got.<br />
This allows me to capture output like STDOUT and perform tests on it.</p>
<p>After a bit of Googling I found that this feature was introduced with PerlIO which came with Perl 5.8.  So hence test failure on Perl 5.6 ;-(</p>
<p>Solutions?   Well I could just make sure only Perl 5.8 is used by placing the following at the top of my modules&#8230;</p>
<p><pre class="brush: perl;">
    use 5.008;
</pre></p>
<p>But hey that isn&#8217;t very community spirited of me ;-(     And anyway there&#8217;s nothing in the Builder code that stops it working on<br />
Perl 5.6 its just that &#8220;in memory&#8221; test line that 5.6 doesn&#8217;t like.</p>
<p>OK then I could just skip the tests on Perl 5.6 by amending my builder_xml_output.t like so&#8230;.</p>
<p><pre class="brush: perl;">
    use Test::More;
    
    if ( $[ &lt; 5.008 ) {
        plan skip_all =&gt; 'Cannot test before Perl 5.8';
    }
    else {
        plan tests =&gt; 2;
    }
</pre></p>
<p>Seems painless enough.  But it does feel like i&#8217;m sweeping the problem under the carpet a little bit!</p>
<p>So after a bit more Googling I found a couple of better solutions but plumped for IO::Scalar (part of IO::Stringy).  I downloaded the IO::Stringy source code folder straight from CPAN and into Builder&#8217;s test directory under &#8220;lib&#8221; and amended my builder_xml_output.t file like so&#8230;</p>
<p><pre class="brush: perl;">
    use Test::More tests =&gt; 2;
    use Builder;

    # local test library
    use lib 't/lib';
    use IO::Scalar;

    my $got;  
    my $fh = IO::Scalar-&gt;new( \$got ); 

    .... tests as before ....
</pre></p>
<p>Now test works on Perl 5.6 and above.   Job done!</p>
<p>/I3az/</p>
<p>References:</p>
<ul>
<li><a href="http://perldoc.perl.org/functions/open.html">http://perldoc.perl.org/functions/open.html</a></li>
<li><a href="http://www.perlmonks.org/?node_id=398587">http://www.perlmonks.org/?node_id=398587</a></li>
<li><a href="http://www.perlmonks.org/?node_id=302088">http://www.perlmonks.org/?node_id=302088</a></li>
<li><a href="http://search.cpan.org/dist/IO-stringy/">http://search.cpan.org/dist/IO-stringy/</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/156/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/156/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/156/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=156&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/01/23/cpan-smoke-testing-an-unsung-hero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
		<item>
		<title>Sometimes we forget how lucky we are to have Perl</title>
		<link>http://transfixedbutnotdead.com/2008/12/05/lucky_to_have_perl/</link>
		<comments>http://transfixedbutnotdead.com/2008/12/05/lucky_to_have_perl/#comments</comments>
		<pubDate>Fri, 05 Dec 2008 23:55:28 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://draegtun.wordpress.com/?p=65</guid>
		<description><![CDATA[After a bit of doom &#38; gloom over last few days on use.perl.org at least we can have a warm feeling about things we take for granted in the Perl world&#8230;.  http://drnicwilliams.com/2008/12/05/my-rubygems-development-tools-and-workflow/ /I3az/<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=65&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After a bit of doom &amp; gloom over last few days on use.perl.org at least we can have a warm feeling about things we take for granted in the Perl world&#8230;.</p>
<p><a title="My RubyGems development tools and workflow" href="http://drnicwilliams.com/2008/12/05/my-rubygems-development-tools-and-workflow/"> http://drnicwilliams.com/2008/12/05/my-rubygems-development-tools-and-workflow/</a></p>
<p>/I3az/</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/65/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/65/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/65/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=65&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2008/12/05/lucky_to_have_perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/29cb106071d163d703484e63839d89cb?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">draegtun</media:title>
		</media:content>
	</item>
	</channel>
</rss>
