<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for the digitaljunkie</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this member.</description>
		<pubDate>Sun, 12 Oct 2008 01:13:35 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>GZip a file using Perl</title>
	<link>http://www.bytemycode.com/snippets/snippet/187/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/187/comments/</comments>
	<pubDate>Wed, 29 Mar 2006 11:31:09 +0000</pubDate>
	<dc:creator>digitaljunkie</dc:creator>
	<category>compress, File, gzip, Perl</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/187/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Wed. Mar. 29th, 2006  11:31 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/187/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/digitaljunkie/" title="Helper">digitaljunkie</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/compress">compress</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/File">File</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/gzip">gzip</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Perl">Perl</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/187/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 7
			<p>Need to GZip a file using Perl?<br /><br />Use Compress::Zlib.<br /><br />This is a simple perl script which creates a GZip file.</p>
		]]>
	</description>
</item><item>
	<title>Compare two binary files</title>
	<link>http://www.bytemycode.com/snippets/snippet/186/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/186/comments/</comments>
	<pubDate>Wed, 29 Mar 2006 10:55:34 +0000</pubDate>
	<dc:creator>digitaljunkie</dc:creator>
	<category>File, MD5, Perl</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/186/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Wed. Mar. 29th, 2006  10:55 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/186/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/digitaljunkie/" title="Helper">digitaljunkie</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/File">File</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/MD5">MD5</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Perl">Perl</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/186/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 8
			<p>Is this file the same as that file?  The files may or may not be binary.   We could compare the modify dates, or the sizes.  But, those are not very accurate to know if a file has really changed.<br /><br />Introducing MD5 Checksum.  We can feed the files into Digest::MD5 in binary mode.<br /><br />This is a great way to do Incremental Backups.<br /><br />This is also an easy way to verify checksums when downloading files from the internet which list their MD5 Checksums.<br /><br />You'll need the Digest::MD5 Perl Module.</p>
		]]>
	</description>
</item><item>
	<title>Gunzip using Compress::Zlib in Perl</title>
	<link>http://www.bytemycode.com/snippets/snippet/164/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/164/comments/</comments>
	<pubDate>Tue, 07 Mar 2006 16:47:49 +0000</pubDate>
	<dc:creator>digitaljunkie</dc:creator>
	<category>compress, gunzip, gzip, Perl</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/164/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Mar. 7th, 2006  4:47 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/164/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/digitaljunkie/" title="Helper">digitaljunkie</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/compress">compress</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/gunzip">gunzip</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/gzip">gzip</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Perl">Perl</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/164/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 9
			<p>The docs for Compress::Zlib for perl are very complex.  But, the most simple use of the Module is not too bad.  I've waded through the perdoc so you don't have to.<br /><br />Gunzip.pl is here.  I will let you know when I have Gzip.pl done.<br /><br />You can do something more interesting with "success" variable.</p>
		]]>
	</description>
</item><item>
	<title>Windows Screenshot from perl</title>
	<link>http://www.bytemycode.com/snippets/snippet/163/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/163/comments/</comments>
	<pubDate>Tue, 07 Mar 2006 16:34:04 +0000</pubDate>
	<dc:creator>digitaljunkie</dc:creator>
	<category>Clipboard, Perl, Screenshot, Win32::API</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/163/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Tue. Mar. 7th, 2006  4:34 PM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/163/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/digitaljunkie/" title="Helper">digitaljunkie</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/Clipboard">Clipboard</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Perl">Perl</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Screenshot">Screenshot</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Win32%3A%3AAPI">Win32::API</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/163/comments/">1 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 7
			<p>This requires Win32::API, and Win32::Clipboard.<br />Only works on Win32 Platforms.  Only really tested on Win2000, and WinXP.<br /><br />Not meant to be an be all, end all, but it's a start.<br /><br />Have fun!<br /></p>
		]]>
	</description>
</item><item>
	<title>Uppercase first letter of every word</title>
	<link>http://www.bytemycode.com/snippets/snippet/85/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/85/comments/</comments>
	<pubDate>Thu, 16 Feb 2006 08:37:24 +0000</pubDate>
	<dc:creator>digitaljunkie</dc:creator>
	<category>Perl</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/85/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. Feb. 16th, 2006  8:37 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/85/revisions/">1</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/digitaljunkie/" title="Helper">digitaljunkie</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/Perl">Perl</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/85/comments/">2 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 5
			<p>I needed a quick way to make a Street Address and City proper case.<br />Lingua::EN::NameCase works best for peoples names, but it does not work well for Addresses.  This is not intended by any means to be complete, but is quick and dirty.<br /><br />Plus, there are not many Perl snippets here.  So, I thought I would start simple :-)</p>
		]]>
	</description>
</item>
	</channel>
</rss>