<?xml version="1.0" encoding="windows-1252"?>
<node id="992212" title="Re: $x | $y | $z = $z | ($x | $y) ?" created="2012-09-06 20:06:48" updated="2012-09-06 20:06:48">
<type id="11">
note</type>
<author id="381608">
ikegami</author>
<data>
<field name="doctext">
Overloaded operator handlers sometimes receive operands in reversed order, but Perl will notify the handler when it does so by setting the swapped argument to true.

&lt;p&gt;[doc://overload]:

&lt;blockquote&gt;&lt;p&gt;Three arguments are passed to all subroutines specified in the use overload directive (with one exception - see nomethod). &amp;#91;...] The third argument is set to TRUE if (and only if) the two operands have been swapped. Perl may do this to ensure that the first argument ($self ) is an object implementing the overloaded operation, in line with general object calling conventions. &amp;#91;...]&lt;/blockquote&gt;

&lt;p&gt;You probably disregarded that argument?</field>
<field name="root_node">
992121</field>
<field name="parent_node">
992121</field>
</data>
</node>
