<?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>Blog O' Matty &#187; Perl</title>
	<atom:link href="http://prefetch.net/blog/index.php/category/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Wed, 16 May 2012 00:16:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Printing status displays in Perl scripts</title>
		<link>http://prefetch.net/blog/index.php/2007/11/05/printing-status-displays-in-perl-scripts/</link>
		<comments>http://prefetch.net/blog/index.php/2007/11/05/printing-status-displays-in-perl-scripts/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 17:05:55 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/11/05/printing-status-displays-in-perl-scripts/</guid>
		<description><![CDATA[While developing a Perl script this weekend to summarize Solaris zone usage, I wanted to display some type of status while my script did it&#8217;s thing. My friend Clay came up with a cool way to do this, and I thought I would share it here in case others needed to do something similar. Here [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2007/11/05/printing-status-displays-in-perl-scripts/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building Perl modules for Solaris</title>
		<link>http://prefetch.net/blog/index.php/2006/07/29/building-perl-modules-for-solaris/</link>
		<comments>http://prefetch.net/blog/index.php/2006/07/29/building-perl-modules-for-solaris/#comments</comments>
		<pubDate>Sat, 29 Jul 2006 13:07:38 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2006/07/29/building-perl-modules-for-solaris/</guid>
		<description><![CDATA[This week I needed to install a few Perl modules on a Solaris 10 host. I didn&#8217;t want to download and install a fourth perl interpreter (Solaris 10 comes with 5.6.1, 5.8.3 and 5.8.4 for some reason), since Solaris 10 comes with a relatively recent version of Perl (5.8.4). To build the module in question [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2006/07/29/building-perl-modules-for-solaris/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Locating and printing modules with perldoc</title>
		<link>http://prefetch.net/blog/index.php/2006/07/02/locating-and-printing-modules-with-perldoc/</link>
		<comments>http://prefetch.net/blog/index.php/2006/07/02/locating-and-printing-modules-with-perldoc/#comments</comments>
		<pubDate>Mon, 03 Jul 2006 03:07:31 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=466</guid>
		<description><![CDATA[I have recently started using perldoc to access the Perl documentation collection, and can&#8217;t believe it took me this long to do so. Perldoc has a slew of nifty options, including &#8220;-l&#8221; (print the path to a Perl module) to print the full path to a given module: $ /usr/perl5/5.8.4/bin/perldoc -l Net::DNS /usr/perl5/site_perl/5.8.4/sun4-solaris-64int/Net/DNS.pm And &#8220;-m&#8221; [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2006/07/02/locating-and-printing-modules-with-perldoc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl module library madness!</title>
		<link>http://prefetch.net/blog/index.php/2006/02/25/library-madness/</link>
		<comments>http://prefetch.net/blog/index.php/2006/02/25/library-madness/#comments</comments>
		<pubDate>Sat, 25 Feb 2006 15:10:28 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[Solaris Debugging]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=351</guid>
		<description><![CDATA[While reading up on website performance monitoring applications last week, I came across the cricket HTTP-performance module. HTTP-performance allows you to graph the time it takes to connect to a website and to render a page. This sounded interesting, so I decided to download and install cricket. After reading through the beginners guide, I installed [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2006/02/25/library-madness/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resolving hostnames with Perl</title>
		<link>http://prefetch.net/blog/index.php/2005/10/07/resolving-hostnames-with-perl/</link>
		<comments>http://prefetch.net/blog/index.php/2005/10/07/resolving-hostnames-with-perl/#comments</comments>
		<pubDate>Fri, 07 Oct 2005 18:43:42 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=182</guid>
		<description><![CDATA[I recently added name resolution support to ldap-stats.pl. This was super easy to do, and only required three lines of Perl code: ### Import the required modules use Socket; ### Convert the IP address string to an Internet address my $ipaddr = inet_aton($index); ### Resolve the IP address to a hostname my $host = gethostbyaddr($ipaddr, [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2005/10/07/resolving-hostnames-with-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Printing ranges with Perl</title>
		<link>http://prefetch.net/blog/index.php/2005/10/07/printing-ranges-with-perl/</link>
		<comments>http://prefetch.net/blog/index.php/2005/10/07/printing-ranges-with-perl/#comments</comments>
		<pubDate>Fri, 07 Oct 2005 18:29:45 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=181</guid>
		<description><![CDATA[When developing Perl scripts, it is often useful to process a range of characters or numbers. This is easily accomplished with Perl&#8217;s &#8220;..&#8221; range operator: $ perl -e &#8216;foreach (1 .. 10 ) { print &#8220;$_\n&#8221;; }&#8217; 1 2 3 4 5 6 7 8 9 10 Perl seems to contain just about everything, and [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2005/10/07/printing-ranges-with-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stupid Perl mistake</title>
		<link>http://prefetch.net/blog/index.php/2005/09/26/stupid-perl-mistake/</link>
		<comments>http://prefetch.net/blog/index.php/2005/09/26/stupid-perl-mistake/#comments</comments>
		<pubDate>Mon, 26 Sep 2005 18:11:50 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=159</guid>
		<description><![CDATA[While messing around with Perl I ran into the following error: $ perl -e &#8216;use Time::Local print (localtime)[5] + 1900;&#8217; syntax error at -e line 1, near &#8220;)[&#8221; Execution of -e aborted due to compilation errors. I asked Perl guru Peter Marschall if he knew what was wrong with this statement, and Peter mentioned that [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2005/09/26/stupid-perl-mistake/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing Perl code (localtime)</title>
		<link>http://prefetch.net/blog/index.php/2005/09/23/optiming-perl-date-code/</link>
		<comments>http://prefetch.net/blog/index.php/2005/09/23/optiming-perl-date-code/#comments</comments>
		<pubDate>Sat, 24 Sep 2005 00:51:03 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=143</guid>
		<description><![CDATA[While updating some Perl code I wrote quite some time back, I came across the following: my ($sec, $min, $hour, $day, $month, $year, $wd, $day, $dst) = localtime(time); print $year + 1900 . &#8220;\n&#8221;; This code is rather wasteful, especially when the program only needs the year. A much simpler solution is to put the [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2005/09/23/optiming-perl-date-code/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Perl and greediness</title>
		<link>http://prefetch.net/blog/index.php/2005/09/19/perl-and-greediness/</link>
		<comments>http://prefetch.net/blog/index.php/2005/09/19/perl-and-greediness/#comments</comments>
		<pubDate>Tue, 20 Sep 2005 01:49:44 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=130</guid>
		<description><![CDATA[When a regular expression uses the &#8216;*&#8217; wild card operator to match text, the regular expression will attempt to match as much as possible when applying the regular expression. Given the the following Perl code with the regular expression &#8220;(Some.*text)&#8221;: $ cat test.pl #!/usr/bin/perl my $string = "Some chunk of text that has text"; $string [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2005/09/19/perl-and-greediness/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Generating random passwords with Perl</title>
		<link>http://prefetch.net/blog/index.php/2005/09/15/generating-random-passwords-with-perl/</link>
		<comments>http://prefetch.net/blog/index.php/2005/09/15/generating-random-passwords-with-perl/#comments</comments>
		<pubDate>Thu, 15 Sep 2005 22:27:30 +0000</pubDate>
		<dc:creator>matty</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=125</guid>
		<description><![CDATA[While performing some house cleaning this evening, I came across the following Perl nugget: #!/usr/bin/perl my @alphanumeric = ('a'..'z', 'A'..'Z', 0..9); my $randpassword = join '', map $alphanumeric[rand @alphanumeric], 0..8; print "$randpassword\n" This awesome little 3-line script will produce random 8-character alphanumeric passwords: $ randpasswd.pl ahvtGRE6U $ randpasswd.pl lxVLA7xLv I wish I knew where I [...]]]></description>
		<wfw:commentRss>http://prefetch.net/blog/index.php/2005/09/15/generating-random-passwords-with-perl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

