<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>From PHP to Perl</title>
	<atom:link href="http://assasiner.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://assasiner.wordpress.com</link>
	<description>A PHP Programmer Learning Perl</description>
	<lastBuildDate>Thu, 06 Mar 2008 18:52:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='assasiner.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/d93b974b7bb75d8f91c200eff1a87c4f?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>From PHP to Perl</title>
		<link>http://assasiner.wordpress.com</link>
	</image>
			<item>
		<title>PHP array_unique in Perl</title>
		<link>http://assasiner.wordpress.com/2008/03/06/php-array_unique-in-perl/</link>
		<comments>http://assasiner.wordpress.com/2008/03/06/php-array_unique-in-perl/#comments</comments>
		<pubDate>Thu, 06 Mar 2008 18:43:03 +0000</pubDate>
		<dc:creator>assasiner</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://assasiner.wordpress.com/?p=13</guid>
		<description><![CDATA[Well this function is very handy when you are working with flatfiles, or for example you dont have a category table on your mysql database, so entries have repeatead categories.
What the function array_unique does, is return an array without the repeated elements given in the array you gave as argument.
For example:
&#60;?php
$array = array(1,2,1,3,4,1,2,6,4,5,1);
$array = array_unique($array);
sort($array);
print_r($array);
?&#62;
That [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=assasiner.wordpress.com&blog=381614&post=13&subd=assasiner&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://assasiner.wordpress.com/2008/03/06/php-array_unique-in-perl/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f66c42d644cabb3394caf024748fe98?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fedekun</media:title>
		</media:content>
	</item>
		<item>
		<title>Redirect</title>
		<link>http://assasiner.wordpress.com/2006/12/06/redirect/</link>
		<comments>http://assasiner.wordpress.com/2006/12/06/redirect/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 05:47:11 +0000</pubDate>
		<dc:creator>assasiner</dc:creator>
				<category><![CDATA[Other]]></category>

		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/12/06/redirect/</guid>
		<description><![CDATA[Well, i think you all know how to redirect in PHP (header(&#8216;Location: page.php&#8217;)) but, in perl, you have to set the header before the input, and what if you always include a header file, print the content, and then a footer file, or use some kind of &#8220;PHP&#8221; Navigation, including files?
Well, there is one way [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=assasiner.wordpress.com&blog=381614&post=12&subd=assasiner&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://assasiner.wordpress.com/2006/12/06/redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f66c42d644cabb3394caf024748fe98?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fedekun</media:title>
		</media:content>
	</item>
		<item>
		<title>Is In Array?</title>
		<link>http://assasiner.wordpress.com/2006/12/03/is-in-array/</link>
		<comments>http://assasiner.wordpress.com/2006/12/03/is-in-array/#comments</comments>
		<pubDate>Sun, 03 Dec 2006 20:46:06 +0000</pubDate>
		<dc:creator>assasiner</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/12/03/is-in-array/</guid>
		<description><![CDATA[I was searching if there was a function like in_array of PHP in Perl, but there is not such function, but, it is still very easy to check!
This was useful for me so i hope it is for you
In PHP:
&#60;?php
$string = &#8216;fin_helm&#8217;;
$array = array(&#8216;full_plate&#8217;,'manteau&#8217;,'boots&#8217;,'two_handed_sword&#8217;,'fin_helm&#8217;);
if(in_array($string, $array))
{
print &#8220;$string is in the array&#8221;;
}
?&#62;
In Perl:
#!/usr/bin/perl
my $string = &#8216;fin_helm&#8217;;
my @array [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=assasiner.wordpress.com&blog=381614&post=11&subd=assasiner&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://assasiner.wordpress.com/2006/12/03/is-in-array/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f66c42d644cabb3394caf024748fe98?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fedekun</media:title>
		</media:content>
	</item>
		<item>
		<title>BBCode and Regex</title>
		<link>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/</link>
		<comments>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/#comments</comments>
		<pubDate>Thu, 23 Nov 2006 23:52:32 +0000</pubDate>
		<dc:creator>assasiner</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/</guid>
		<description><![CDATA[BBcode is very popular on forums, if you have never heard of it you may have seen it and don&#8217;t know it&#8217;s name
BBcode looks like [b][/b] for bold, [url=url]linktitle[/url] for links, etc
I will show you how to make that with Perl and PHP
You need a basic knowledge of regular expressions. I will explain some basic [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=assasiner.wordpress.com&blog=381614&post=10&subd=assasiner&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://assasiner.wordpress.com/2006/11/23/bbcode-and-regex/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f66c42d644cabb3394caf024748fe98?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fedekun</media:title>
		</media:content>
	</item>
		<item>
		<title>Cookies</title>
		<link>http://assasiner.wordpress.com/2006/11/21/cookies/</link>
		<comments>http://assasiner.wordpress.com/2006/11/21/cookies/#comments</comments>
		<pubDate>Tue, 21 Nov 2006 20:40:47 +0000</pubDate>
		<dc:creator>assasiner</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://assasiner.wordpress.com/2006/11/21/cookies/</guid>
		<description><![CDATA[Hello!
Today i will  explain the differences between PHP and Perl with Cookies.
PHP is way better than Perl for cookies (maybe mod_perl could do a better job but PHP is still better) anyways, its not a big deal to get or set a cookie in Perl.
In Perl cookies can have maximum 6 attributes, in PHP [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=assasiner.wordpress.com&blog=381614&post=9&subd=assasiner&ref=&feed=1" />]]></description>
		<wfw:commentRss>http://assasiner.wordpress.com/2006/11/21/cookies/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/2f66c42d644cabb3394caf024748fe98?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fedekun</media:title>
		</media:content>
	</item>
	</channel>
</rss>