<?xml version="1.0" encoding="windows-1252"?>
<node id="286181" title="Re^3: Perl Idioms Explained - ${\$obj-&gt;method} and @{[sort @list]}" created="2003-08-24 07:31:30" updated="2005-07-07 15:22:30">
<type id="11">
note</type>
<author id="186362">
adrianh</author>
<data>
<field name="doctext">
&lt;p&gt;Read [id://26319] and [id://72247] and repeat to yourself three times - "('foo', 'bar', 'baz') is not an array" ;-)&lt;/p&gt;

&lt;p&gt;I'm with [Abigail-II]. The \ operator has lots of weird cases that surprise you. For example:

&lt;code&gt;
\@foo       # reference to array @foo
\(@foo, $a) # list of reference to array @foo and scalar $a
\(@foo)     # list of references to contents of @foo
&lt;/code&gt;
</field>
<field name="root_node">
285498</field>
<field name="parent_node">
286098</field>
</data>
</node>
