<?xml version="1.0" encoding="windows-1252"?>
<node id="132610" title="Conditionally Changing a Variable" created="2001-12-17 17:53:46" updated="2005-08-13 06:44:19">
<type id="115">
perlquestion</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
Although it should work from a logic standpoint, I don't seem to be able to use the following.
Why?

&lt;CODE&gt;c$ = 0 if (c$ &lt; 0);&lt;/CODE&gt;

c$ will remain the same as it originally was.


</field>
<field name="reputation">
0</field>
</data>
</node>
