<?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: Context</title>
	<atom:link href="http://perlhacks.com/2011/01/context/feed/" rel="self" type="application/rss+xml" />
	<link>http://perlhacks.com/2011/01/context/</link>
	<description>Just another Perl Hacker&#039;s blog</description>
	<lastBuildDate>Thu, 24 May 2012 15:20:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Three Short Announcements &#8211; Perl Hacks</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2481</link>
		<dc:creator>Three Short Announcements &#8211; Perl Hacks</dc:creator>
		<pubDate>Thu, 24 Feb 2011 20:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2481</guid>
		<description>[...] I was going to explain how the context examples in my last post worked. If you haven&#8217;t worked it out yet, I recommend a close read of the [...]</description>
		<content:encoded><![CDATA[<p>[...] I was going to explain how the context examples in my last post worked. If you haven&#8217;t worked it out yet, I recommend a close read of the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2457</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Tue, 15 Feb 2011 19:54:32 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2457</guid>
		<description>The third statement prints a one-element list, which of course is the same backwards as it is forwards.

N.B. Although I understood these examples, I still feel that I have yet to internalize Perl context to the extent that it has become second nature. This shows up especially in more-complex examples than the ones you use here.</description>
		<content:encoded><![CDATA[<p>The third statement prints a one-element list, which of course is the same backwards as it is forwards.</p>
<p>N.B. Although I understood these examples, I still feel that I have yet to internalize Perl context to the extent that it has become second nature. This shows up especially in more-complex examples than the ones you use here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Cross</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2405</link>
		<dc:creator>Dave Cross</dc:creator>
		<pubDate>Mon, 24 Jan 2011 09:42:01 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2405</guid>
		<description>Seems to me that there are two aspects to understanding context:

1/ What context is this expression being evaluated in?
2/ How do these operations and functions behave in this context?

And this example nicely demonstrates that even if the first part is (sometimes) obvious, the only sure way to get an answer to the second question is to look in the documentation.</description>
		<content:encoded><![CDATA[<p>Seems to me that there are two aspects to understanding context:</p>
<p>1/ What context is this expression being evaluated in?<br />
2/ How do these operations and functions behave in this context?</p>
<p>And this example nicely demonstrates that even if the first part is (sometimes) obvious, the only sure way to get an answer to the second question is to look in the documentation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ask Bjørn Hansen</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2402</link>
		<dc:creator>Ask Bjørn Hansen</dc:creator>
		<pubDate>Mon, 24 Jan 2011 00:11:14 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2402</guid>
		<description>Yeah, I agree -- it makes this question/quiz not so much &quot;how does context work&quot; but &quot;what does &#039;reverse&#039; do in scalar context?&quot;</description>
		<content:encoded><![CDATA[<p>Yeah, I agree &#8212; it makes this question/quiz not so much &#8220;how does context work&#8221; but &#8220;what does &#8216;reverse&#8217; do in scalar context?&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Carman</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2401</link>
		<dc:creator>James Carman</dc:creator>
		<pubDate>Sun, 23 Jan 2011 22:55:12 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2401</guid>
		<description>perldoc -f reverse

I didn&#039;t know reverse changed it&#039;s return based on context.  Learn something new every day.</description>
		<content:encoded><![CDATA[<p>perldoc -f reverse</p>
<p>I didn&#8217;t know reverse changed it&#8217;s return based on context.  Learn something new every day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hanekomu</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2400</link>
		<dc:creator>hanekomu</dc:creator>
		<pubDate>Sun, 23 Jan 2011 18:27:15 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2400</guid>
		<description>Using single-digit numbers is a nice obfuscation. :)

@ll - Here&#039;s a hint:

print scalar reverse qw(foo bar baz);

prints &quot;zabraboof&quot;.</description>
		<content:encoded><![CDATA[<p>Using single-digit numbers is a nice obfuscation. <img src='http://perlhacks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>@ll &#8211; Here&#8217;s a hint:</p>
<p>print scalar reverse qw(foo bar baz);</p>
<p>prints &#8220;zabraboof&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Cross</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2399</link>
		<dc:creator>Dave Cross</dc:creator>
		<pubDate>Sun, 23 Jan 2011 17:04:41 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2399</guid>
		<description>Well, sure. I&#039;ll be happy to post a full explanation at some point - perhaps if I leave it until next weekend that will give you all enough time to think about it.

But in the meantime, if you want to work it out for yourself you could try reading the documentation for &#039;reverse&#039; (and, of course, &#039;scalar&#039; and &#039;print&#039;).</description>
		<content:encoded><![CDATA[<p>Well, sure. I&#8217;ll be happy to post a full explanation at some point &#8211; perhaps if I leave it until next weekend that will give you all enough time to think about it.</p>
<p>But in the meantime, if you want to work it out for yourself you could try reading the documentation for &#8216;reverse&#8217; (and, of course, &#8216;scalar&#8217; and &#8216;print&#8217;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ll</title>
		<link>http://perlhacks.com/2011/01/context/#comment-2398</link>
		<dc:creator>ll</dc:creator>
		<pubDate>Sun, 23 Jan 2011 16:52:16 +0000</pubDate>
		<guid isPermaLink="false">http://perlhacks.com/?p=227#comment-2398</guid>
		<description>Can you let us know the difference , three of them produce the same output</description>
		<content:encoded><![CDATA[<p>Can you let us know the difference , three of them produce the same output</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic page generated in 0.169 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-30 07:59:48 -->
<!-- Compression = gzip -->