<?xml version="1.0" encoding="UTF-8"?><!-- generator="b2evolution/0.9.1" -->
<rdf:RDF xmlns="http://purl.org/rss/1.0/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"					xmlns:admin="http://webns.net/mvcb/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel rdf:about="http://www.abstractfactory.org/blogs/f_tech.php">
	<title>Forrest's Tech Blog</title>
	<link>http://www.abstractfactory.org/blogs/f_tech.php</link>
	<description>Forrest's thoughts on computer stuff</description>
	<dc:language>en-US</dc:language>
	<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=0.9.1"/>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<sy:updateBase>2000-01-01T12:00+00:00</sy:updateBase>
	<items>
		<rdf:Seq>
					<rdf:li rdf:resource="http://www.abstractfactory.org/blogs/f_tech.php?title=the_power_of_perl&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1"/>
				</rdf:Seq>
	</items>
</channel>
<item rdf:about="http://www.abstractfactory.org/blogs/f_tech.php?title=the_power_of_perl&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1">
	<title>The Power of Perl</title>
	<link>http://www.abstractfactory.org/blogs/f_tech.php?title=the_power_of_perl&amp;more=1&amp;c=1&amp;tb=1&amp;pb=1</link>
	<dc:date>2006-04-17T04:16:49Z</dc:date>
	<dc:creator>forrest</dc:creator>
	<dc:subject>perl</dc:subject>
	<description>Perl is a much-malingned as a write-only language by those who don't know it, but they just don't understand the power.

Here's a little anecdote which should clear things up:

In a late morning meeting at work, I learned that there was some document corruption problem which was rare and difficult to catch, which showed up in our pdf documents as a double question mark ("??").  Although I only know very little about the pdf format, I said "Oh, I bet I can write a perl program to detect that!"

When I got back to my cube, I searched CPAN for "pdf" and spent about half an hour going over my numerous pdf library choices before finally settling on CAM::PDF.


Extracting text from the pdf was then a piece of cake, and of course searching for "??" is a trivial matter for perl's famous regular expressions.

By the end of that day I had a working program.  That's the power of perl.</description>
	<content:encoded><![CDATA[	<p>Perl is a much-malingned as a <em>write-only language</em> by those who don't know it, but they just don't understand the <em>power</em>.</p>
	<p>
Here's a little anecdote which should clear things up:
</p>
	<p>
In a late morning meeting at work, I learned that there was some document corruption problem which was rare and difficult to catch, which showed up in our pdf documents as a double question mark ("??").  Although I only know very little about the pdf format, I said <em>"Oh, I bet I can write a perl program to detect that!"</em></p>
	<p>
When I got back to my cube, I <a href="http://search.cpan.org/search?query=pdf&amp;mode=all">searched CPAN for "pdf"</a> and spent about half an hour going over my numerous pdf library choices before finally settling on <a href="http://search.cpan.org/~clotho/CAM-PDF-1.06/lib/CAM/PDF.pm">CAM::PDF</a>.
</p>
	<p>
Extracting text from the pdf was then a piece of cake, and of course searching for "??" is a trivial matter for perl's famous regular expressions.
</p>
	<p>By the end of that day I had a working program.  That's the <em>power of perl</em>.
</p>
]]></content:encoded>
</item>
</rdf:RDF>
