<?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>Jason L. Froebe - Tech tips and How Tos for Fellow Techies &#187; cpan</title>
	<atom:link href="http://froebe.net/blog/index.php/tag/cpan/feed/" rel="self" type="application/rss+xml" />
	<link>http://froebe.net/blog</link>
	<description>Tips &#38; Tricks for Databases (Sybase, Oracle, MySQL, PostgreSQL, SQLite), Windows, Linux, Solaris, Perl, Java, Bash and so much much more</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:12:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Audiobook chapter support for FFprobe (Perl) module</title>
		<link>http://froebe.net/blog/2012/01/06/audiobook-chapter-support-for-ffprobe-perl-module/</link>
		<comments>http://froebe.net/blog/2012/01/06/audiobook-chapter-support-for-ffprobe-perl-module/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 02:37:59 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[Diogo Franco]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffprobe]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[perl module]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1364</guid>
		<description><![CDATA[I have multiple audiobook files (m4b) that ffprobe is able to retrieve the chapters from just fine&#8230; except the chapter information is printed to stderr and never in the formatted (STDOUT) output. The Perl module FFprobe doesn&#8217;t handle the chapters so I submitted feature request #73803 Feature request is to format the chapter output. jason@jason-Inspiron-1545 [...]]]></description>
			<content:encoded><![CDATA[<h4>I have multiple audiobook files (m4b) that <a href="http://ffmpeg.org/">ffprobe</a> is able to retrieve the chapters from just fine&#8230; except the chapter information is printed to stderr and never in the formatted (STDOUT) output.  The Perl module <a href="http://search.cpan.org/~kovensky/FFprobe/lib/FFprobe.pm">FFprobe</a> doesn&#8217;t handle the chapters so I submitted <a href="https://rt.cpan.org/Ticket/Display.html?id=73803">feature request #73803</a></h4>
<h4>Feature request is to format the chapter output.</h4>
<div class="bash dean_ch">jason<span class="sy0">@</span>jason-Inspiron-<span class="nu0">1545</span> ~<span class="sy0">/</span>bin $ ffprobe <span class="st0">&quot;/home/jason/Audiobooks/Ben Bova/Mars/Mars 1.m4b&quot;</span> <span class="nu0">1</span><span class="sy0">&gt;/</span>dev<span class="sy0">/</span>null<br />
&#8230;.<br />
&nbsp; libavutil &nbsp; &nbsp;<span class="nu0">51</span>. &nbsp;<span class="nu0">7</span>. <span class="nu0">0</span> <span class="sy0">/</span> <span class="nu0">51</span>. &nbsp;<span class="nu0">7</span>. <span class="nu0">0</span><br />
&nbsp; libavcodec &nbsp; <span class="nu0">53</span>. &nbsp;<span class="nu0">5</span>. <span class="nu0">0</span> <span class="sy0">/</span> <span class="nu0">53</span>. &nbsp;<span class="nu0">5</span>. <span class="nu0">0</span><br />
&nbsp; libavformat &nbsp;<span class="nu0">53</span>. &nbsp;<span class="nu0">2</span>. <span class="nu0">0</span> <span class="sy0">/</span> <span class="nu0">53</span>. &nbsp;<span class="nu0">2</span>. <span class="nu0">0</span><br />
&nbsp; libavdevice &nbsp;<span class="nu0">53</span>. &nbsp;<span class="nu0">0</span>. <span class="nu0">0</span> <span class="sy0">/</span> <span class="nu0">53</span>. &nbsp;<span class="nu0">0</span>. <span class="nu0">0</span><br />
&nbsp; libavfilter &nbsp; <span class="nu0">2</span>. &nbsp;<span class="nu0">4</span>. <span class="nu0">0</span> <span class="sy0">/</span> &nbsp;<span class="nu0">2</span>. &nbsp;<span class="nu0">4</span>. <span class="nu0">0</span><br />
&nbsp; libswscale &nbsp; &nbsp;<span class="nu0">2</span>. &nbsp;<span class="nu0">0</span>. <span class="nu0">0</span> <span class="sy0">/</span> &nbsp;<span class="nu0">2</span>. &nbsp;<span class="nu0">0</span>. <span class="nu0">0</span><br />
&nbsp; libpostproc &nbsp;<span class="nu0">52</span>. &nbsp;<span class="nu0">0</span>. <span class="nu0">0</span> <span class="sy0">/</span> <span class="nu0">52</span>. &nbsp;<span class="nu0">0</span>. <span class="nu0">0</span><br />
<span class="br0">&#91;</span>mov,mp4,m4a,3gp,3g2,mj2 <span class="sy0">@</span> 0xddfac0<span class="br0">&#93;</span> max_analyze_duration reached<br />
Input <span class="co0">#0, mov,mp4,m4a,3gp,3g2,mj2, from &#8216;/home/jason/Audiobooks/Ben Bova/Mars/Mars 1.m4b&#8217;:</span><br />
&nbsp; Metadata:<br />
&nbsp; &nbsp; major_brand &nbsp; &nbsp; : M4B <br />
&nbsp; &nbsp; minor_version &nbsp; : <span class="nu0">0</span><br />
&nbsp; &nbsp; compatible_brands: M4B mp42isom<br />
&nbsp; &nbsp; creation_time &nbsp; : <span class="nu0">2009</span>-09-08 <span class="nu0">16</span>:<span class="nu0">19</span>:<span class="nu0">29</span><br />
&nbsp; &nbsp; album &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Mars<br />
&nbsp; &nbsp; artist &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: Ben Bova<br />
&nbsp; &nbsp; genre &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Audiobook<br />
&nbsp; Duration: 03:<span class="nu0">51</span>:<span class="nu0">23.41</span>, start: <span class="nu0">0.000000</span>, bitrate: <span class="nu0">81</span> kb<span class="sy0">/</span>s<br />
&nbsp; &nbsp; Chapter <span class="co0">#0.0: start 0.000000, end 2779.567914</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Mars &#8211; 01 of <span class="nu0">24</span><br />
&nbsp; &nbsp; Chapter <span class="co0">#0.1: start 2779.567914, end 5555.049161</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Mars &#8211; 02 of <span class="nu0">24</span><br />
&nbsp; &nbsp; Chapter <span class="co0">#0.2: start 5555.049161, end 8334.617075</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Mars &#8211; 03 of <span class="nu0">24</span><br />
&nbsp; &nbsp; Chapter <span class="co0">#0.3: start 8334.617075, end 11110.098322</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Mars &#8211; 04 of <span class="nu0">24</span><br />
&nbsp; &nbsp; Chapter <span class="co0">#0.4: start 11110.098322, end 13883.419864</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; title &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : Mars &#8211; 05 of <span class="nu0">24</span><br />
&nbsp; &nbsp; Stream <span class="co0">#0.0(und): Audio: aac, 44100 Hz, stereo, s16, 80 kb/s</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; creation_time &nbsp; : <span class="nu0">2009</span>-09-08 <span class="nu0">16</span>:<span class="nu0">19</span>:<span class="nu0">29</span><br />
&nbsp; &nbsp; Stream <span class="co0">#0.1(eng): Subtitle: text / 0&#215;74786574</span><br />
&nbsp; &nbsp; Metadata:<br />
&nbsp; &nbsp; &nbsp; creation_time &nbsp; : <span class="nu0">2009</span>-09-08 <span class="nu0">17</span>:<span class="nu0">31</span>:00<br />
Unsupported codec with <span class="kw2">id</span> <span class="nu0">94213</span> <span class="kw1">for</span> input stream <span class="nu0">1</span><br />
jason<span class="sy0">@</span>jason-Inspiron-<span class="nu0">1545</span> ~<span class="sy0">/</span>bin $ </div>
<h4>patch to add m4b chapter support:</h4>
<div class="perl dean_ch">82c82<br />
<span class="sy0">&lt;</span> <span class="kw1">my</span> <span class="br0">&#40;</span><span class="re0">$tree</span><span class="sy0">,</span> <span class="re0">$branch</span><span class="sy0">,</span> <span class="re0">$tag</span><span class="sy0">,</span> <span class="re0">$stream</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="sy0">&#8212;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; <span class="kw1">my</span> <span class="br0">&#40;</span><span class="re0">$tree</span><span class="sy0">,</span> <span class="re0">$branch</span><span class="sy0">,</span> <span class="re0">$tag</span><span class="sy0">,</span> <span class="re0">$stream</span><span class="sy0">,</span> <span class="re0">$chapter</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
100c100<span class="sy0">,</span><span class="nu0">108</span><br />
<span class="sy0">&lt;</span> <span class="br0">&#125;</span><br />
<span class="sy0">&#8212;</span><br />
<span class="sy0">&gt;</span> &nbsp; <span class="br0">&#125;</span> <span class="kw1">elsif</span> <span class="br0">&#40;</span><span class="re0">$line</span> <span class="sy0">=~</span> <span class="co2">m/Chapter \#(\d+\.*\d+): start (\d+\.*\d+)\, end (\d+\.*\d+)/i</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; &nbsp; <span class="kw1">my</span> <span class="br0">&#40;</span><span class="re0">$start</span><span class="sy0">,</span> <span class="re0">$end</span><span class="br0">&#41;</span> <span class="sy0">=</span> <span class="br0">&#40;</span><span class="co3">$2</span><span class="sy0">,</span> <span class="co3">$3</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; &nbsp; <span class="re0">$chapter</span> <span class="sy0">=</span> <span class="co3">$1</span><span class="sy0">;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; &nbsp; <span class="re0">$chapter</span> <span class="sy0">=~</span> <span class="co2">s/\.//g</span><span class="sy0">;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; &nbsp; <span class="re0">$chapter</span> <span class="sy0">=~</span> <span class="co2">s/^0+(\d)/$1/</span><span class="sy0">;</span><br />
<span class="sy0">&gt;</span> <br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; &nbsp; <span class="re0">$$tree</span><span class="br0">&#123;</span>chapters<span class="br0">&#125;</span><span class="br0">&#123;</span><span class="re0">$chapter</span><span class="br0">&#125;</span> <span class="sy0">=</span> <span class="br0">&#123;</span> start <span class="sy0">=&gt;</span> <span class="re0">$start</span><span class="sy0">,</span> end <span class="sy0">=&gt;</span> <span class="re0">$end</span> <span class="br0">&#125;</span><span class="sy0">;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; <span class="br0">&#125;</span> <span class="kw1">elsif</span> <span class="br0">&#40;</span><span class="re0">$line</span> <span class="sy0">=~</span> <span class="co2">/title\s+: (.+)$/</span><span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
<span class="sy0">&gt;</span> &nbsp; &nbsp; &nbsp; <span class="re0">$$tree</span><span class="br0">&#123;</span>chapters<span class="br0">&#125;</span><span class="br0">&#123;</span><span class="re0">$chapter</span><span class="br0">&#125;</span><span class="br0">&#123;</span>title<span class="br0">&#125;</span> <span class="sy0">=</span> <span class="co3">$1</span><span class="sy0">;</span><br />
101a110<br />
<span class="sy0">&gt;</span> &nbsp; <span class="br0">&#125;</span></div>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2012/01/06/audiobook-chapter-support-for-ffprobe-perl-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl module Flickr::Simple2 v0.03 for the Flickr API released!</title>
		<link>http://froebe.net/blog/2009/05/13/perl-module-flickrsimple2-v003-for-the-flickr-api-released/</link>
		<comments>http://froebe.net/blog/2009/05/13/perl-module-flickrsimple2-v003-for-the-flickr-api-released/#comments</comments>
		<pubDate>Wed, 13 May 2009 16:41:26 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[flickr api]]></category>
		<category><![CDATA[flickr::simple2]]></category>
		<category><![CDATA[PAUSE]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=1072</guid>
		<description><![CDATA[I just uploaded the Perl module Flickr::Simple2 version 0.03 to CPAN (PAUSE) so it might be a few minutes/hours before it shows up in the CPAN mirrors. Revision history for Perl extension Flickr::Simple2. 0.03  Wed May 13 11:18:00 2009 - significant changes to the API to make more methods of the Flickr API available. - [...]]]></description>
			<content:encoded><![CDATA[<p>I just uploaded the Perl module <a href="http://search.cpan.org/~jfroebe/Flickr-Simple2/lib/Flickr/Simple2.pm">Flickr::Simple2</a> version 0.03 to <a href="http://www.cpan.org">CPAN</a> (PAUSE) so it might be a few minutes/hours before it shows up in the CPAN mirrors.</p>
<p>Revision history for Perl extension <a href="http://search.cpan.org/~jfroebe/Flickr-Simple2/lib/Flickr/Simple2.pm">Flickr::Simple2</a>.</p>
<p>0.03  Wed May 13 11:18:00 2009<br />
- significant changes to the API to make more methods of the Flickr API available.<br />
- using Iterator::Simple so we can retrieve one photo at a time and internalize the handling of Flickr Photo *pages*<br />
0.02  Initial CPAN release<br />
0.01  Thu Feb 12 11:33:35 2009<br />
- original version; created by h2xs 1.23 with options<br />
-XA -n Flickr::Simple2</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/05/13/perl-module-flickrsimple2-v003-for-the-flickr-api-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First official release of Flickr::Simple2 to Perl&#8217;s CPAN repository :)</title>
		<link>http://froebe.net/blog/2009/03/11/first-official-release-of-flickrsimple2-to-perls-cpan-repository/</link>
		<comments>http://froebe.net/blog/2009/03/11/first-official-release-of-flickrsimple2-to-perls-cpan-repository/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 14:16:22 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[APIs]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[api]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[flickr::simple]]></category>
		<category><![CDATA[flickr::simple2]]></category>
		<category><![CDATA[XML::Simple]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=893</guid>
		<description><![CDATA[Flickr::Simple2 is an XML::Simple based Perl API to communicate with Flickr.  It is in the early phases of development… comments are welcome You will need to supply your own Flickr API key. I released version 0.02 to Perl&#8217;s CPAN repository this morning after several delays related to the birth of my son a week ago.  [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_859" class="wp-caption alignright" style="width: 108px"><a href="http://www.flickr.com"><img class="size-full wp-image-859" title="Flickr" src="http://froebe.net/blog/wp-content/uploads/2009/02/flickr_logo.png" alt="Flickr" width="98" height="26" /></a><p class="wp-caption-text">Flickr</p></div>
<p><a href="http://search.cpan.org/~jfroebe/Flickr-Simple2/lib/Flickr/Simple2.pm">Flickr::Simple2</a> is an XML::Simple based <a href="http://www.perl.org">Perl</a> API to communicate with <a href="http://www.flickr.com">Flickr</a>.  It is in the early phases of development… comments are welcome <img class="wp-smiley" src="../wp-includes/images/smilies/icon_smile.gif" alt=":)" /></p>
<p>You will need to supply your own <a href="http://www.flickr.com/services/api/keys/">Flickr API key</a>.</p>
<p>I released version 0.02 to <a href="http://search.cpan.org/">Perl&#8217;s CPAN repository</a> this morning after several delays related to the birth of my son a week ago.  As always, comments and constructive critism are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/03/11/first-official-release-of-flickrsimple2-to-perls-cpan-repository/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why oh why is working with XML so bloomin&#8217; difficult in Perl?</title>
		<link>http://froebe.net/blog/2009/01/17/why-oh-why-is-working-with-xml-so-bloomin-difficult-in-perl/</link>
		<comments>http://froebe.net/blog/2009/01/17/why-oh-why-is-working-with-xml-so-bloomin-difficult-in-perl/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 03:51:31 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[perlmonks]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xpath]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=832</guid>
		<description><![CDATA[I love perl, I really do. The problem is that I need to also work with XML as well. CPAN has numerous modules that work with XML to one degree or another. Producing XML is simple and easy. Reading or manipulating it involves loading the XML through a parser. The parsers will create a myriad [...]]]></description>
			<content:encoded><![CDATA[<p>I love perl, I really do. The problem is that I need to also work with XML as well. CPAN has numerous modules that work with XML to one degree or another.</p>
<p>Producing XML is simple and easy. Reading or manipulating it involves loading the XML through a parser. The parsers will create a myriad of hashes, arrays and the like but navigating them even with tools like XPath make you want to perform oral surgery on yourself using rusty tiddly winks.</p>
<p>So my question is this: Are there any XML parsers for Perl that are easy to use without having to deal with arbitrary hashes of hashes of hashes and &#8230;. (don&#8217;t forget the arrays)?</p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/01/17/why-oh-why-is-working-with-xml-so-bloomin-difficult-in-perl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Perl Review: Issue 5.1, Winter 2008 has been released!</title>
		<link>http://froebe.net/blog/2009/01/04/the-perl-review-issue-51-winter-2008-has-been-released/</link>
		<comments>http://froebe.net/blog/2009/01/04/the-perl-review-issue-51-winter-2008-has-been-released/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 17:06:07 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Alberto Simões]]></category>
		<category><![CDATA[brian d foy]]></category>
		<category><![CDATA[business expense]]></category>
		<category><![CDATA[camel]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[ezine]]></category>
		<category><![CDATA[factorial]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[José Castro]]></category>
		<category><![CDATA[magazine]]></category>
		<category><![CDATA[Nadim Khemir]]></category>
		<category><![CDATA[patching]]></category>
		<category><![CDATA[perl modules]]></category>
		<category><![CDATA[perl news]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[refactoring]]></category>
		<category><![CDATA[subscription]]></category>
		<category><![CDATA[tax]]></category>
		<category><![CDATA[The Perl Review]]></category>
		<category><![CDATA[tivo]]></category>
		<category><![CDATA[Yanick Champoux]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=791</guid>
		<description><![CDATA[brian d foy and crew release another amazing Perl Review magazine issue.  If you haven&#8217;t subscribed yet, please please do so, it is a treasure trove of information!  You can even claim the subscription on your 2009 taxes as a business expense.  How cool is that?!? Issue 5.1, Winter 2008 Surviving Your First Week of [...]]]></description>
			<content:encoded><![CDATA[<p>brian d foy and crew release another amazing <a href="http://www.theperlreview.com"><strong>Perl Review</strong> magazine</a> issue.  If you haven&#8217;t <a href="https://www.theperlreview.com/cgi-bin/subscribe.cgi">subscribed</a> yet, please please do so, it is a treasure trove of information!  You can even claim the <a href="https://www.theperlreview.com/cgi-bin/subscribe.cgi">subscription</a> on your 2009 taxes as a business expense.  How cool is that?!?</p>
<blockquote>
<h2 id="issue-header"><em>Issue 5.1, Winter 2008</em></h2>
<p class="article-title"><em><span class="article-title">Surviving Your First Week of Perl</span> (<a href="http://www.theperlreview.com/SamplePages/ThePerlReview-v5i1.p5.pdf">sample</a>)</em></p>
<div id="attachment_792" class="wp-caption alignright" style="width: 241px"><a href="http://www.theperlreview.com/"><img class="size-medium wp-image-792" title="The Perl Review" src="http://froebe.net/blog/wp-content/uploads/2009/01/v5i1-cover-medium-231x300.png" alt="Issue 5.1, Winter 2008" width="231" height="300" /></a><p class="wp-caption-text">Issue 5.1, Winter 2008</p></div>
<p class="article-title"><em><span class="article-author">José Castro</span></em></p>
<p class="article-title"><em><span class="article-title">Programming with CPAN.pm</span> (<a href="http://www.theperlreview.com/SamplePages/ThePerlReview-v5i1.p11.pdf">sample</a>)<br />
<span class="article-author">brian d foy</span></em></p>
<p class="article-title"><em><span class="article-title">CPAN Patching with Git</span> (<a href="http://www.theperlreview.com/SamplePages/ThePerlReview-v5i1.p18.pdf">sample</a>)<br />
<span class="article-author">Yanick Champoux</span></em></p>
<p class="article-title"><em><span class="article-title">Refactoring Factorial</span> (<a href="http://www.theperlreview.com/SamplePages/ThePerlReview-v5i1.p23.pdf">sample</a>)<br />
<span class="article-author">Alberto Simões</span></em></p>
<p class="article-title"><em><span class="article-title">Downloading From TiVo</span> (<a href="http://www.theperlreview.com/SamplePages/ThePerlReview-v5i1.p27.pdf">sample</a>)<br />
<span class="article-author">brian d foy</span></em>
</p>
<p class="article-more"><em>plus Commentary and Module Reviews by Nadim Khemir, Perl News, and more&#8230; </em></p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2009/01/04/the-perl-review-issue-51-winter-2008-has-been-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Received &#8216;Can&#8217;t call method &#8220;value&#8221; on an undefined value at /usr/share/perl5/IO/Uncompress/RawInflate.pm&#8217; on Ubuntu 8.04 Server (Hardy Heron)</title>
		<link>http://froebe.net/blog/2008/07/16/received-cant-call-method-value-on-an-undefined-value-at-usrshareperl5iouncompressrawinflatepm-on-ubuntu-804-server-hardy-heron/</link>
		<comments>http://froebe.net/blog/2008/07/16/received-cant-call-method-value-on-an-undefined-value-at-usrshareperl5iouncompressrawinflatepm-on-ubuntu-804-server-hardy-heron/#comments</comments>
		<pubDate>Thu, 17 Jul 2008 01:50:12 +0000</pubDate>
		<dc:creator>Jason L Froebe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cpan]]></category>
		<category><![CDATA[hardy heron]]></category>
		<category><![CDATA[IO::Compress::zlib::perl]]></category>
		<category><![CDATA[libio-compress-zlib-perl]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[workaround]]></category>

		<guid isPermaLink="false">http://froebe.net/blog/?p=578</guid>
		<description><![CDATA[On my media server, I wanted to set up Perl&#8217;s CPAN but when I ran install Bundle::CPAN, I ctrl-c&#8217;d out of it when I noticed that bzip2 wasn&#8217;t installed.  Silly me.  Soon after I started receiving: Can&#8217;t call method &#8220;value&#8221; on an undefined value at /usr/share/perl5/IO/Uncompress/RawInflate.pm Reinstalling Perl and all the related ubuntu packages doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>On my media server, I wanted to set up Perl&#8217;s CPAN but when I ran install Bundle::CPAN, I ctrl-c&#8217;d out of it when I noticed that bzip2 wasn&#8217;t installed.  Silly me.  Soon after I started receiving:</p>
<blockquote><p><strong>Can&#8217;t call method &#8220;value&#8221; on an undefined value at /usr/share/perl5/IO/Uncompress/RawInflate.pm</strong></p></blockquote>
<p>Reinstalling Perl and all the related ubuntu packages doesn&#8217;t fix it, nor does removing the ~root/.cpan dir.  There is an easy workaround though.</p>
<div class="bash dean_ch"><span class="co0"># aptitude remove libcompress-raw-zlib-perl</span><br />
Reading package lists&#8230; Done<br />
Building dependency <span class="kw2">tree</span> &nbsp; &nbsp; &nbsp; <br />
Reading state information&#8230; Done<br />
Reading extended state information &nbsp; &nbsp; &nbsp;<br />
Initializing package states&#8230; Done<br />
Building tag database&#8230; Done &nbsp; &nbsp; &nbsp;<br />
The following packages are BROKEN:<br />
&nbsp; libio-compress-zlib-perl <br />
The following packages have been kept back:<br />
&nbsp; bind9-host dnsutils libbind9-<span class="nu0">30</span> libisccfg30 <br />
The following packages will be REMOVED:<br />
&nbsp; libcompress-raw-zlib-perl <br />
<span class="nu0">0</span> packages upgraded, <span class="nu0">0</span> newly installed, <span class="nu0">1</span> to remove and <span class="nu0">4</span> not upgraded.<br />
Need to get 0B of archives. After unpacking 319kB will be freed.<br />
The following packages have unmet dependencies:<br />
&nbsp; libio-compress-zlib-perl: Depends: libcompress-raw-zlib-perl <span class="br0">&#40;</span><span class="sy0">&gt;</span>= <span class="nu0">2.008</span><span class="br0">&#41;</span> but it is not installable<br />
Resolving dependencies&#8230;<br />
The following actions will resolve these dependencies:</p>
<p>Remove the following packages:<br />
apparmor-utils<br />
libcompress-zlib-perl<br />
libio-compress-zlib-perl<br />
libmp3-tag-perl<br />
librpc-xml-perl<br />
libwww-perl<br />
libxml-parser-perl<br />
ubuntu-standard</p>
<p>Score is <span class="nu0">592</span></p>
<p>Accept this solution? <span class="br0">&#91;</span>Y<span class="sy0">/</span>n<span class="sy0">/</span>q<span class="sy0">/</span>?<span class="br0">&#93;</span> </div>
<p>Make a note of the packages that it will remove, then tell it to go ahead.  It <strong>will</strong> remove these packages!</p>
<p>Start cpan, and type in
<div class="bash dean_ch"><span class="kw2">install</span> Bundle::CPAN</div>
<p>.  When it is complete, reinstall the ubuntu packages that you removed earlier (for example):</p>
<div class="bash dean_ch"><span class="co0"># aptitude install apparmor-utils libcompress-zlib-perl libio-compress-zlib-perl libmp3-tag-perl librpc-xml-perl libwww-perl libxml-parser-perl ubuntu-standard</span></div>
<p>That&#8217;s it. Your cpan is working again <img src='http://froebe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://froebe.net/blog/2008/07/16/received-cant-call-method-value-on-an-undefined-value-at-usrshareperl5iouncompressrawinflatepm-on-ubuntu-804-server-hardy-heron/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

