<?xml version="1.0" encoding="windows-1252"?>
<node id="496040" title="Re^2: True or False? A Quick Reference Guide" created="2005-09-29 07:21:50" updated="2005-09-29 03:21:50">
<type id="11">
note</type>
<author id="108447">
demerphq</author>
<data>
<field name="doctext">
&lt;p&gt;
Interesting. I wasn't aware of "0 but true" being special cased. But you did realize that strings matching &lt;c&gt;/^0E\d+$/&lt;/c&gt; have this property too right?
&lt;/p&gt;
&lt;c&gt;
D:\&gt;perl -lwe "my @b=(0,1); for (qw(0E0 1E0)) { print; print qq(Bool:),$b[!!$_]; print qq(0+:),0+$_; print $/; }"
0E0
Bool:1
0+:0


1E0
Bool:1
0+:1
&lt;/c&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-108447"&gt;
---&lt;br /&gt; 
$world=~s/war/peace/g&lt;br /&gt;
&lt;br /&gt;

&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
495975</field>
<field name="parent_node">
496032</field>
</data>
</node>
