<?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: Perl Appetizers</title>
	<atom:link href="http://blag.xkcd.com/2007/07/09/perl-appetizers/feed/" rel="self" type="application/rss+xml" />
	<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/</link>
	<description>The blag of the webcomic</description>
	<lastBuildDate>Sat, 21 Nov 2009 20:33:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Laptop tamir</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-33132</link>
		<dc:creator>Laptop tamir</dc:creator>
		<pubDate>Wed, 04 Nov 2009 22:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-33132</guid>
		<description>Perl appetizers?</description>
		<content:encoded><![CDATA[<p>Perl appetizers?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: medyum</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-29928</link>
		<dc:creator>medyum</dc:creator>
		<pubDate>Tue, 28 Jul 2009 08:51:32 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-29928</guid>
		<description>I’m not a coder but I found the 7 mixed fruit solution pretty quickly using calc.exe and trial and error. Just a point of note: Looks to me like some of you were over-thinking the numbers – the dining party specified 15.05 of *appetisers*, so the Barbecue sandwich should not be included in the calculations (it’s under a different category on the menu)</description>
		<content:encoded><![CDATA[<p>I’m not a coder but I found the 7 mixed fruit solution pretty quickly using calc.exe and trial and error. Just a point of note: Looks to me like some of you were over-thinking the numbers – the dining party specified 15.05 of *appetisers*, so the Barbecue sandwich should not be included in the calculations (it’s under a different category on the menu)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: video</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-23103</link>
		<dc:creator>video</dc:creator>
		<pubDate>Sat, 08 Nov 2008 17:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-23103</guid>
		<description>I was playing around with the audio feature.

And instead of saying “I am” it says “I A-M”.

It made me giggle.</description>
		<content:encoded><![CDATA[<p>I was playing around with the audio feature.</p>
<p>And instead of saying “I am” it says “I A-M”.</p>
<p>It made me giggle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavel</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-16795</link>
		<dc:creator>Pavel</dc:creator>
		<pubDate>Wed, 23 Apr 2008 22:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-16795</guid>
		<description>It is better to use &#039;eq&#039; for that operation, not &#039;==&#039;.</description>
		<content:encoded><![CDATA[<p>It is better to use &#8216;eq&#8217; for that operation, not &#8216;==&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cousteau</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-13076</link>
		<dc:creator>cousteau</dc:creator>
		<pubDate>Sat, 16 Feb 2008 16:37:23 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-13076</guid>
		<description>Sorry, I meant:

function knapsack(num, list):
if list == {} or num &lt; 0 then return false
elseif num == 0 then return {}
else
&gt; a:=knapsack(num-list[0], list)
&gt; if a then return {list[0]} + a
&gt; else return knapsack(num, list[1:])
&gt; endif
endif

Easy, simple... and for all the family! (stupid tags...)</description>
		<content:encoded><![CDATA[<p>Sorry, I meant:</p>
<p>function knapsack(num, list):<br />
if list == {} or num &lt; 0 then return false<br />
elseif num == 0 then return {}<br />
else<br />
&gt; a:=knapsack(num-list[0], list)<br />
&gt; if a then return {list[0]} + a<br />
&gt; else return knapsack(num, list[1:])<br />
&gt; endif<br />
endif</p>
<p>Easy, simple&#8230; and for all the family! (stupid tags&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cousteau</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-13074</link>
		<dc:creator>cousteau</dc:creator>
		<pubDate>Sat, 16 Feb 2008 16:34:59 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-13074</guid>
		<description>Pseudocode:

function knapsack(num, list):
if list == {} or num  a:=knapsack(num-list[0], list)
&gt; if a then return {list[0]} + a
&gt; else return knapsack(num, list[1:])
&gt; endif
endif

Easy, simple... and for all the family!</description>
		<content:encoded><![CDATA[<p>Pseudocode:</p>
<p>function knapsack(num, list):<br />
if list == {} or num  a:=knapsack(num-list[0], list)<br />
&gt; if a then return {list[0]} + a<br />
&gt; else return knapsack(num, list[1:])<br />
&gt; endif<br />
endif</p>
<p>Easy, simple&#8230; and for all the family!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jasmine</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-10667</link>
		<dc:creator>jasmine</dc:creator>
		<pubDate>Tue, 30 Oct 2007 12:18:29 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-10667</guid>
		<description>yo dead ass dis web site is really fucken ass not one black person will eva visit dis web site!!!!!!!!!!!!!!!!!!!!!!!!!!</description>
		<content:encoded><![CDATA[<p>yo dead ass dis web site is really fucken ass not one black person will eva visit dis web site!!!!!!!!!!!!!!!!!!!!!!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TechHeadFred</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-10322</link>
		<dc:creator>TechHeadFred</dc:creator>
		<pubDate>Wed, 24 Oct 2007 14:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-10322</guid>
		<description>I&#039;m not a coder but I found the 7 mixed fruit solution pretty quickly using calc.exe and trial and error. :)

Just a point of note: Looks to me like some of you were over-thinking the numbers - the dining party specified 15.05 of *appetisers*, so the Barbecue sandwich should not be included in the calculations (it&#039;s under a different category on the menu)</description>
		<content:encoded><![CDATA[<p>I&#8217;m not a coder but I found the 7 mixed fruit solution pretty quickly using calc.exe and trial and error. :)</p>
<p>Just a point of note: Looks to me like some of you were over-thinking the numbers &#8211; the dining party specified 15.05 of *appetisers*, so the Barbecue sandwich should not be included in the calculations (it&#8217;s under a different category on the menu)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Garcia-Suarez</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-9997</link>
		<dc:creator>Rafael Garcia-Suarez</dc:creator>
		<pubDate>Thu, 11 Oct 2007 11:47:41 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-9997</guid>
		<description>use big numbers !!

$ perl -Mbignum -e &#039;print 2.15*7, &quot;\n&quot;, 15.05, &quot;\n&quot;, (2.15*7 == 15.05) ? &quot;true&quot; : &quot;false&quot;, &quot;\n&quot;;&#039;
15.05
15.05
true</description>
		<content:encoded><![CDATA[<p>use big numbers !!</p>
<p>$ perl -Mbignum -e &#8216;print 2.15*7, &#8220;\n&#8221;, 15.05, &#8220;\n&#8221;, (2.15*7 == 15.05) ? &#8220;true&#8221; : &#8220;false&#8221;, &#8220;\n&#8221;;&#8217;<br />
15.05<br />
15.05<br />
true</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: roninkakuhito</title>
		<link>http://blag.xkcd.com/2007/07/09/perl-appetizers/comment-page-3/#comment-9950</link>
		<dc:creator>roninkakuhito</dc:creator>
		<pubDate>Wed, 10 Oct 2007 15:49:33 +0000</pubDate>
		<guid isPermaLink="false">http://blag.xkcd.com/2007/07/09/perl-appetizers/#comment-9950</guid>
		<description>I did mine in qBasic, and ran into the same problem. I have run into that problem over and over again when writing code, and I never learn from it.</description>
		<content:encoded><![CDATA[<p>I did mine in qBasic, and ran into the same problem. I have run into that problem over and over again when writing code, and I never learn from it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
