<?xml version="1.0" encoding="windows-1252"?>
<node id="438951" title="Re^3: Replaying Santa Claus Golf Apocalypse with Pugs/Perl6" created="2005-03-12 12:09:38" updated="2005-07-27 09:38:00">
<type id="11">
note</type>
<author id="418144">
rg0now</author>
<data>
<field name="doctext">
You are absolutely right just about everything, you wrote, except that when golfing with Pugs, you must take into account that many things will not work as expected, or will not work at all...:-)
&lt;p&gt;
For example, Pugs does not have &lt;code&gt;reverse&lt;/code&gt; yet. And while it seems to recognize the parenless form of &lt;code&gt;for&lt;/code&gt;, it requires an extra space not just before the loop statement, but immedaitely after it, too. So, the code takes the form:
&lt;code&gt;
my@l= =open@ARGS[0];
for @l {print @l.pop}
&lt;/code&gt;
And this is just as long as the form with parens, but less clean. 
&lt;p&gt;
However, the more I see the &lt;code&gt;@l.pop&lt;/code&gt; form, the more I like it. Thank you for pointing this out to me...
&lt;p&gt;
&lt;b&gt;Update:&lt;/b&gt; I was stupid, parenless &lt;code&gt;for&lt;/code&gt; is working just right, as [TimToady] suggested, I don't know, what the hell I was messing up...:-)
&lt;div class="pmsig"&gt;&lt;div class="pmsig-418144"&gt;
&lt;p&gt;rg0now
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
438876</field>
<field name="parent_node">
438947</field>
</data>
</node>
