<?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/"
	>

<channel>
	<title>edeca.net &#187; perl</title>
	<atom:link href="http://edeca.net/wp/tag/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://edeca.net/wp</link>
	<description>Musings of a geek</description>
	<lastBuildDate>Sat, 10 Jul 2010 11:10:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Contributing [to CPAN] is easy!</title>
		<link>http://edeca.net/wp/2010/02/contributing-is-easy/</link>
		<comments>http://edeca.net/wp/2010/02/contributing-is-easy/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 21:00:52 +0000</pubDate>
		<dc:creator>David</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[perl]]></category>

		<guid isPermaLink="false">http://edeca.net/wp/?p=334</guid>
		<description><![CDATA[The following article is a repost of an original that I wrote for blogs.perl.org. I thought I would share my experience of submitting a module to CPAN for the first time. In summary: it&#8217;s stupidly easy and if I can do it, so can you. I&#8217;m not the best Perl coder and therefore I rely [...]]]></description>
			<content:encoded><![CDATA[<p>The following article is a repost of <a href="http://blogs.perl.org/users/david/2010/02/contributing-is-easy.html">an original</a> that I wrote for <a href="http://blogs.perl.org">blogs.perl.org</a>.</p>
<p>I thought I would share my experience of  submitting a module to CPAN for the first time.  In summary: it&#8217;s  stupidly easy and if I can do it, so can you.<br />
<span id="more-334"></span><br />
I&#8217;m not the best Perl coder and therefore I rely heavily on CPAN  modules to do the real work.  Every now and again I stumble upon bugs,  many of which are simple to fix after a little debugging.  However, some  modules aren&#8217;t heavily maintained and some haven&#8217;t been touched in  years.  Bugs that are filed on RT can go unanswered, gathering digital  dust while your development machine is riddled with heavily modified  modules.</p>
<p>The solution?  In my case it was as easy as discussing a few changes  with the module author, who added me as a co-maintainer.  That allows me  to upload new versions, fix tickets in the bug queue and probably many  other things I&#8217;ve not discovered.</p>
<p>Uploading a new module requires logging into <a href="http://pause.cpan.org/">PAUSE</a> and pointing it at a file on your  local disk or a remote HTTP server.  A few emails later and a short  wait and the changes appear on the CPAN website itself.</p>
<p>Some useful things to consider when uploading a new module:</p>
<ul>
<li>Does it still build?  Run make clean (or make realclean) and check  from scratch!</li>
<li>If applicable, do the changes break any tests (run make test)</li>
<li>Is the MANIFEST file up to date?</li>
<li>Bump the version number in all files that use it (the .pm itself,  README, META.yml etc) &#8211; grep is your friend here</li>
<li>Document what is new in the Changes file</li>
<li>Remove any other files left over from your development, then tar it  all up</li>
<li>Go and resolve bugs on <a href="http://rt.cpan.org/">rt.cpan.org</a> that you have fixed and take some credit!</li>
</ul>
<p>(I&#8217;m sure I have missed some important ones, please add them below!)</p>
<p>I noticed when replying to a bug ticket that there is a &#8220;minutes  spent&#8221; field.  In all honesty, the above probably took no longer than  10.  And that&#8217;s how long it takes to have the whole Perl community  benefit from your <span style="text-decoration: line-through;">newly broken</span> nicely updated module.</p>
<p>As another quick plug: this is also my first blog post to  blogs.perl.org.  It was also stupidly easy so if you don&#8217;t fancy coding,  get scribbling instead!</p>
]]></content:encoded>
			<wfw:commentRss>http://edeca.net/wp/2010/02/contributing-is-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
