<?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>O!Hacker Blog &#187; Perl</title>
	<atom:link href="http://ohacker.com/category/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://ohacker.com</link>
	<description>anything to hack</description>
	<lastBuildDate>Thu, 12 Aug 2010 05:17:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>用perl脚本解决ant&#8230;非法字符:\65279&#8230;的问题</title>
		<link>http://ohacker.com/2010/02/21/perl-ant-65279/</link>
		<comments>http://ohacker.com/2010/02/21/perl-ant-65279/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 10:41:07 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[ant]]></category>

		<guid isPermaLink="false">http://ohacker.com/?p=287</guid>
		<description><![CDATA[用perl脚本解决ant&#8230;非法字符:\65279&#8230;的问题 用ant管理项目，编译时发现有些utf8编码的java文件无法编译,报错是&#8230;非法字符:\65279&#8230;。 在网上查N多与ant有关的文章，但是大多数的解决方案都不是很理想。因为文件比较多，而且我的 机器上也没有装editplus。 索性自己用perl写了一个脚本 如下： #remove the utf-8 BOM for Ant sub remove_bom &#123; #open( my $in, &#34;+&#60;&#34;, &#34;src/com/umpay/wap20/mobileProxy/MobileProxy.java&#34; ); foreach my $filename &#40;@_&#41; &#123; print $filename,&#34;\n&#34;; open&#40; my $in, &#34;+&#60;&#34;, $filename &#41;; @lines = &#60;$in&#62;; $line1 = $lines&#91;0&#93;; $t_chk1 = substr&#40; $line1, 0, 1 &#41;; #0xef -&#62; 239 $t_chk2 = substr&#40; $line1, 1, [...]]]></description>
		<wfw:commentRss>http://ohacker.com/2010/02/21/perl-ant-65279/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>perl入门之语法及数据类型</title>
		<link>http://ohacker.com/2010/02/19/perl/</link>
		<comments>http://ohacker.com/2010/02/19/perl/#comments</comments>
		<pubDate>Fri, 19 Feb 2010 14:34:03 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://ohacker.com/?p=284</guid>
		<description><![CDATA[perl入门之数据类型]]></description>
		<wfw:commentRss>http://ohacker.com/2010/02/19/perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
