<?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: Respect the global state of the flip flop operator</title>
	<atom:link href="http://www.effectiveperlprogramming.com/blog/314/feed" rel="self" type="application/rss+xml" />
	<link>http://www.effectiveperlprogramming.com/blog/314</link>
	<description>Effective Perl Programming - write better, more idiomatic Perl</description>
	<lastBuildDate>Wed, 28 Dec 2011 08:06:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: hobbs</title>
		<link>http://www.effectiveperlprogramming.com/blog/314/comment-page-1#comment-16</link>
		<dc:creator>hobbs</dc:creator>
		<pubDate>Wed, 30 Jun 2010 01:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.effectiveperlprogramming.com/?p=314#comment-16</guid>
		<description>The glob operator (spelled variously glob(&quot;*.c&quot;) or ) is another place where perl stores &quot;hidden&quot; global state in the operator when it&#039;s compiled. At http://stackoverflow.com/questions/2633447/why-doesnt-perl-file-glob-work-outside-of-a-loop-in-scalar-context/2634012#2634012 I used a similar trick of creating closures to encapsulate the state of a glob operator, so that it can be used outside of a single while loop. This is slightly useless (since you can just glob to a list instead) but at the same time it&#039;s pretty cool.</description>
		<content:encoded><![CDATA[<p>The glob operator (spelled variously glob(&#8220;*.c&#8221;) or ) is another place where perl stores &#8220;hidden&#8221; global state in the operator when it&#8217;s compiled. At <a href="http://stackoverflow.com/questions/2633447/why-doesnt-perl-file-glob-work-outside-of-a-loop-in-scalar-context/2634012#2634012" rel="nofollow">http://stackoverflow.com/questions/2633447/why-doesnt-perl-file-glob-work-outside-of-a-loop-in-scalar-context/2634012#2634012</a> I used a similar trick of creating closures to encapsulate the state of a glob operator, so that it can be used outside of a single while loop. This is slightly useless (since you can just glob to a list instead) but at the same time it&#8217;s pretty cool.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

