<?xml version="1.0" encoding="windows-1252"?>
<node id="1013077" title="Re^4: Operator precedence" created="2013-01-12 20:10:25" updated="2013-01-12 20:10:25">
<type id="11">
note</type>
<author id="708738">
LanX</author>
<data>
<field name="doctext">
ehm, there's a typo ...&lt;P&gt;

...if you want to activate extra options like &lt;b&gt;p&lt;/b&gt;arens to emphasize the precedence you need to prepend a minus, i.e. &lt;c&gt;-p&lt;/c&gt;&lt;P&gt;

&lt;c&gt;
$ perl -MO=Deparse,-p
 use 5.010;
  sub apple  { say "apple"  }
  sub banana { say "banana" }
  sub cherry { say "cherry" }
 
  apple &amp;&amp; (banana || cherry)
__END__

... yadda ...yadda ...

(apple() and (banana() || cherry()));
&lt;/c&gt;&lt;P&gt;

&lt;B&gt;UPDATE&lt;/B&gt;&lt;P&gt;

well it's still not too clear about left-to-right.&lt;P&gt;

I know there is somewhere an option to combine the optree with readable code, not sure if in [doc://B::Deparse] or  [doc://B::Concise] or [doc://B::Terse]&lt;P&gt;

&lt;B&gt;UPDATE&lt;/B&gt;
Terse and Concise have the option &lt;c&gt;-src&lt;/c&gt; but it doesn't help that much, cause it's line based.&lt;P&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-708738"&gt;
&lt;p&gt;Cheers Rolf
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1013066</field>
<field name="parent_node">
1013071</field>
</data>
</node>
