<?xml version="1.0" encoding="windows-1252"?>
<node id="31832" title="Adding 2 + 2" created="2000-09-11 02:22:17" updated="2005-08-15 16:41:24">
<type id="1980">
snippet</type>
<author id="9073">
merlyn</author>
<data>
<field name="doctext">
</field>
<field name="snippetdesc">
This snippet was created accidentally with an empty title, while I was scanning for other snippets to up-vote.  And it was created with an empty subject, requiring me to "view source" to pick out the node number, which I then next sent to myself as a message in the chatterbox as &lt;code&gt;/tell merlyn [id://31832|this one]&lt;/code&gt;. I then followed the link, and was able to press the "edit this" link from there, which I am now typing at.
&lt;p&gt;
So, unable to think of something useful to put here (except the path by which I got to this node), I now give you...
&lt;table border=2 bgcolor="#ddffdd" colspacing=0 colpadding=3&gt;&lt;tr&gt;&lt;td&gt;
How to add 2 + 2 with Perl
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</field>
<field name="snippetcode">
&lt;CODE&gt;
$result = 2 + 2;
print "the answer is $result\n";
&lt;/CODE&gt;</field>
</data>
</node>
