<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: The Deep Perl Gotcha</title>
	<atom:link href="http://www.programmish.com/?feed=rss2&#038;p=31" rel="self" type="application/rss+xml" />
	<link>http://www.programmish.com/?p=31</link>
	<description>Code is data, Data is code</description>
	<lastBuildDate>Thu, 22 Apr 2010 23:56:52 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Todd W</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-118</link>
		<dc:creator>Todd W</dc:creator>
		<pubDate>Tue, 07 Oct 2008 04:32:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-118</guid>
		<description>perhaps you should have looked at the documentation for each()?</description>
		<content:encoded><![CDATA[<p>perhaps you should have looked at the documentation for each()?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chui</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-117</link>
		<dc:creator>Chui</dc:creator>
		<pubDate>Tue, 07 Oct 2008 02:49:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-117</guid>
		<description>There are all these people who are yelling RTFM. To these folks, please enlighten us by explaining under which use-case would this particular &quot;feature&quot; would be considered useful and not a bug?</description>
		<content:encoded><![CDATA[<p>There are all these people who are yelling RTFM. To these folks, please enlighten us by explaining under which use-case would this particular &#8220;feature&#8221; would be considered useful and not a bug?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dev Blog AF83 &#187; Blog Archive &#187; Veille technologique : agilité, standards du web, innovation, conseil sur le développement&#8230;</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-116</link>
		<dc:creator>Dev Blog AF83 &#187; Blog Archive &#187; Veille technologique : agilité, standards du web, innovation, conseil sur le développement&#8230;</dc:creator>
		<pubDate>Mon, 06 Oct 2008 16:53:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-116</guid>
		<description>[...] http://www.programmish.com/?p=31 : un comportement bizarre de Perl. [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.programmish.com/?p=31" rel="nofollow">http://www.programmish.com/?p=31</a> : un comportement bizarre de Perl. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jt</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-115</link>
		<dc:creator>jt</dc:creator>
		<pubDate>Sat, 04 Oct 2008 22:01:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-115</guid>
		<description>The Perl documentation is _very_ clear.

You are constructing an argument based on a fallacy - that the operator would work &quot;as exepected&quot; [i.e., as you expect it from you Ruby and Python experience].

And you were wrong. The languages are different languages. Perl is much richer - Perl 6 is way ahead the rest of the pact.</description>
		<content:encoded><![CDATA[<p>The Perl documentation is _very_ clear.</p>
<p>You are constructing an argument based on a fallacy &#8211; that the operator would work &#8220;as exepected&#8221; [i.e., as you expect it from you Ruby and Python experience].</p>
<p>And you were wrong. The languages are different languages. Perl is much richer &#8211; Perl 6 is way ahead the rest of the pact.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitch</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-114</link>
		<dc:creator>Mitch</dc:creator>
		<pubDate>Fri, 03 Oct 2008 21:54:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-114</guid>
		<description>For those confused about the value (usefulness) of the keyword each, consider what is actually happening behind the scenes.   &quot;keys&quot; is actually returning an array which the loop then iterates over and is used to reference into the hash.  The array being returned requires temporary memory as it is being used.   &quot;each&quot; uses an internal iterator and does not require the additional temporary memory.

Yes perl does a decent job handling memory, yadda, yadda, yadda -- but sometimes the programmer does in fact know better.

Sadly, resetting the iterator is comparatively expensive since it requires a call to keys or values rather than there being a simple &quot;reset&quot; call.</description>
		<content:encoded><![CDATA[<p>For those confused about the value (usefulness) of the keyword each, consider what is actually happening behind the scenes.   &#8220;keys&#8221; is actually returning an array which the loop then iterates over and is used to reference into the hash.  The array being returned requires temporary memory as it is being used.   &#8220;each&#8221; uses an internal iterator and does not require the additional temporary memory.</p>
<p>Yes perl does a decent job handling memory, yadda, yadda, yadda &#8212; but sometimes the programmer does in fact know better.</p>
<p>Sadly, resetting the iterator is comparatively expensive since it requires a call to keys or values rather than there being a simple &#8220;reset&#8221; call.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vineet Kumar</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-113</link>
		<dc:creator>Vineet Kumar</dc:creator>
		<pubDate>Fri, 03 Oct 2008 20:36:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-113</guid>
		<description>No offense, but if you would choose &quot;set&quot; as the name for a dict, you&#039;re at least a little crazy.</description>
		<content:encoded><![CDATA[<p>No offense, but if you would choose &#8220;set&#8221; as the name for a dict, you&#8217;re at least a little crazy.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blaxter</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-112</link>
		<dc:creator>Blaxter</dc:creator>
		<pubDate>Fri, 03 Oct 2008 14:11:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-112</guid>
		<description>I don&#039;t like so much Perl, i&#039;d rather prefer either ruby or python, but i don&#039;t see anything wrong in perl&#039;s behaviour, the code is which is broken in this case. This is the way it should be. 

Php works in the same way [0].

You cannot compare the .items() or .each methods in python/ruby against &#039;each&#039; function in perl (or php), they are not the same. You are wrong, not perl.

[0] http://php.net/each</description>
		<content:encoded><![CDATA[<p>I don&#8217;t like so much Perl, i&#8217;d rather prefer either ruby or python, but i don&#8217;t see anything wrong in perl&#8217;s behaviour, the code is which is broken in this case. This is the way it should be. </p>
<p>Php works in the same way [0].</p>
<p>You cannot compare the .items() or .each methods in python/ruby against &#8216;each&#8217; function in perl (or php), they are not the same. You are wrong, not perl.</p>
<p>[0] <a href="http://php.net/each" rel="nofollow">http://php.net/each</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: patrick</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-111</link>
		<dc:creator>patrick</dc:creator>
		<pubDate>Fri, 03 Oct 2008 12:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-111</guid>
		<description>@Mark

Really? That&#039;s your contribution to a conversation? The Perl community is worse off for your presence.</description>
		<content:encoded><![CDATA[<p>@Mark</p>
<p>Really? That&#8217;s your contribution to a conversation? The Perl community is worse off for your presence.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-110</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 03 Oct 2008 08:27:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-110</guid>
		<description>Deep Fail. By which I mean you, not Perl.

Next time, RTFM.</description>
		<content:encoded><![CDATA[<p>Deep Fail. By which I mean you, not Perl.</p>
<p>Next time, RTFM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taylor</title>
		<link>http://www.programmish.com/?p=31&#038;cpage=1#comment-109</link>
		<dc:creator>Taylor</dc:creator>
		<pubDate>Fri, 03 Oct 2008 07:57:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmish.com/?p=31#comment-109</guid>
		<description>perldoc -f each</description>
		<content:encoded><![CDATA[<p>perldoc -f each</p>
]]></content:encoded>
	</item>
</channel>
</rss>
