<?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>antoniolorusso.com &#187; Perl</title>
	<atom:link href="http://antoniolorusso.com/category/development/perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://antoniolorusso.com</link>
	<description>About me and what I do :)</description>
	<lastBuildDate>Mon, 21 Jun 2010 22:17:54 +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>map and grep: from Perl to PHP</title>
		<link>http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/</link>
		<comments>http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/#comments</comments>
		<pubDate>Mon, 17 May 2010 14:57:29 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[array_filter]]></category>
		<category><![CDATA[array_map]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/</guid>
		<description><![CDATA[Probably many of you already know but here is the correspondent in PHP of the two fundamentals Perl functions:map =&#62; array_mapgrep =&#62; array_filterToo lazy to give you examples .. I think you can work it out yourself.]]></description>
			<content:encoded><![CDATA[<p>Probably many of you already know but here is the correspondent in PHP of the two fundamentals Perl functions:<br /><code>map =&gt; array_map<br />grep =&gt; array_filter</code><br />Too lazy to give you examples .. I think you can work it out yourself.</p>
<p> <img src='http://antoniolorusso.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2010/05/17/map-and-grep-from-perl-to-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>in_array() in Perl?</title>
		<link>http://antoniolorusso.com/2008/07/09/in_array-in-perl/</link>
		<comments>http://antoniolorusso.com/2008/07/09/in_array-in-perl/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 09:57:51 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[in_array]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2008/07/09/in_array-in-perl/</guid>
		<description><![CDATA[I was looking for this useful function I always use in php and found this simple article. Basically, the function that permit you to do that is grep used in this way: my $string = ‘fin_helm’; my @array = qw/full_plate manteau boots two_handed_sword fin_helm/; if(grep $_ eq $string, @array) { print “$string is in the [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for this useful function I always use in php and found this simple <a href="http://assasiner.wordpress.com/2006/12/03/is-in-array/trackback/">article</a>.<br />
Basically, the function that permit you to do that is <strong>grep </strong>used in this way:<br />
<code>my $string = ‘fin_helm’;<br />
my @array = qw/full_plate manteau boots two_handed_sword fin_helm/;<br />
if(grep $_ eq $string, @array)<br />
{<br />
print “$string is in the array”;<br />
}</code><br />
easy?</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2008/07/09/in_array-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>just a note for me: Perl references</title>
		<link>http://antoniolorusso.com/2008/07/08/just-a-note-for-me-perl-references/</link>
		<comments>http://antoniolorusso.com/2008/07/08/just-a-note-for-me-perl-references/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 16:32:46 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[dereference]]></category>
		<category><![CDATA[references]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2008/07/08/just-a-note-for-me-perl-references/</guid>
		<description><![CDATA[I said not to jump the chapter 4 of the Camel book (the Dromedary one) otherwise you&#8217;ll not know what @{&#8230;} (literally: at plus curly brackets) do!!As explained in page 252, that expression, dereferenciate an array reference returning the array itself.Remember that arghh.. ps. why Perl should be so complicated?]]></description>
			<content:encoded><![CDATA[<p>I said not to jump the chapter 4 of the Camel book (the Dromedary one) otherwise you&#8217;ll not know what @{&#8230;} (literally: at plus curly brackets) do!!<br />As explained in page 252, that expression, dereferenciate an array reference returning the array itself.<br />Remember that arghh..</p>
<p>ps. why Perl should be so complicated?</p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2008/07/08/just-a-note-for-me-perl-references/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl reference</title>
		<link>http://antoniolorusso.com/2008/05/30/perl-reference/</link>
		<comments>http://antoniolorusso.com/2008/05/30/perl-reference/#comments</comments>
		<pubDate>Fri, 30 May 2008 16:19:24 +0000</pubDate>
		<dc:creator>antonio lorusso</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[reference]]></category>

		<guid isPermaLink="false">http://antoniolorusso.com/2008/05/30/perl-reference/</guid>
		<description><![CDATA[Study it! if you are beginning with perl, that chapter is the one you will never jump over!http://perldoc.perl.org/perlreftut.html]]></description>
			<content:encoded><![CDATA[<p>Study it! if you are beginning with perl, that chapter is the one you will never jump over!<br /><a target="_blank" href="http://perldoc.perl.org/perlreftut.html">http://perldoc.perl.org/perlreftut.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://antoniolorusso.com/2008/05/30/perl-reference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
