<?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; POD</title>
	<atom:link href="http://transfixedbutnotdead.com/tag/pod/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; POD</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>Github and POD</title>
		<link>http://transfixedbutnotdead.com/2009/12/03/github-and-pod/</link>
		<comments>http://transfixedbutnotdead.com/2009/12/03/github-and-pod/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 15:57:22 +0000</pubDate>
		<dc:creator>draegtun</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[POD]]></category>

		<guid isPermaLink="false">http://transfixedbutnotdead.com/?p=725</guid>
		<description><![CDATA[If you look at the Github README formatting guide you will notice a feature request for POD that yours truly left there 10 months ago. Recently I noticed that POD&#8217;s on Github were being rendered now (which may have been the case for quite a while and simply passed me by!). For eg. chromatic&#8217;s Modern [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=725&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you look at the Github <a href="http://github.com/guides/readme-formatting">README formatting guide</a> you will notice a feature request for <a href="http://en.wikipedia.org/wiki/Plain_Old_Documentation">POD</a> that yours truly left there 10 months ago.</p>
<p>Recently I noticed that POD&#8217;s on <a href="http://github.com">Github</a> were being rendered now (which may have been the case for quite a while and simply passed me by!).  For eg. chromatic&#8217;s Modern Perl Book <a href="http://github.com/chromatic/modern_perl_book/blob/master/outline.pod">outline.pod</a>.</p>
<p>So I added a README.pod to my <a href="http://github.com/draegtun/builder">Builder repo</a> on Github and it works taking precedence over the plain README when rendering the repo landing page.</p>
<p>So no need to resort to using Markdown or Textile&#8230; its POD all the way!   Hats off to Github for adding POD.</p>
<p>This is the README.pod I ended up with after a few trial attempts:<br />
<pre class="brush: perl;">
=head1 Builder

Build XML, HTML and (eventually!) other outputs in blocks
 

=head2 VERSION

version 0.04

This distribution includes the following modules:

    Builder             (0.04)
    Builder::Utils      (0.02)
    Builder::XML        (0.02)
    Builder::XML::Utils (0.02)
    

=head2 SYNOPSIS

Using building blocks to render XML, CSS, HTML and other outputs.

    use Builder;
    my $builder = Builder-&gt;new;
    my $xm      = $builder-&gt;block( 'Builder::XML' );
    
    
    # example 1
     
    $xm-&gt;parent( { isa =&gt; 'Mother' }, $xm-&gt;child( 'Hi Mum!' ) );
    say $builder-&gt;render;
    
    # &lt;parent isa=&quot;Mother&quot;&gt;&lt;child&gt;Hi Mum!&lt;/child&gt;&lt;/parent&gt;
    
    
    # example 2
     
    $xm-&gt;parent( sub {
        for my $say qw/Mum Dad/ {
            $xm-&gt;child( &quot;Hi $say&quot; );
        }
    });
    
    say $builder-&gt;render;
        
    # &lt;parent&gt;&lt;child&gt;Hi Mum&lt;/child&gt;&lt;child&gt;Hi Dad&lt;/child&gt;&lt;/parent&gt;


=head2 INSTALLATION

To install this module, run the following commands:

	perl Build.PL
	./Build
	./Build test
	./Build install


=head2 DEPENDENCIES

This module requires these other modules and libraries:

	Carp


=head2 SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Builder


=head2 COPYRIGHT AND LICENCE

Copyright (C) 2008,2009 Barry Walsh (Draegtun Systems Ltd)

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

</pre></p>
<p>/I3az/</p>
<p><em>Update 08-Dec-2009: I&#8217;ve now amended the GitHub README formatting guide wiki to show that POD is now a supported format</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/draegtun.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/draegtun.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/draegtun.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/draegtun.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/draegtun.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/draegtun.wordpress.com/725/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/draegtun.wordpress.com/725/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/draegtun.wordpress.com/725/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=transfixedbutnotdead.com&amp;blog=351142&amp;post=725&amp;subd=draegtun&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://transfixedbutnotdead.com/2009/12/03/github-and-pod/feed/</wfw:commentRss>
		<slash:comments>3</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>
	</channel>
</rss>
