<?xml version="1.0" encoding="windows-1252"?>
<node id="879978" title="Re: symbolic references" created="2011-01-01 04:08:15" updated="2011-01-01 04:08:15">
<type id="11">
note</type>
<author id="625435">
james2vegas</author>
<data>
<field name="doctext">
This is a deliberate exception, see [doc://strict]:&lt;br&gt;
&lt;br&gt;
&lt;code&gt;
             There is one exception to this rule:

                 $bar = \&amp;{'foo'};
                 &amp;$bar;

             is allowed so that "goto &amp;$AUTOLOAD" would not break under
             stricture.

&lt;/code&gt;
and running your code through [mod://B::Deparse] you get (leaving out all the 'feature' stuff):
&lt;br&gt;
&lt;code&gt;
sub test {
    goto \&amp;{'greet';};
}
&lt;/code&gt;
which triggers the exception.&lt;br&gt;&lt;br&gt;
UPDATE: checking your actual code, it is in &lt;c&gt;sub AUTOLOAD&lt;/c&gt;, exactly the reason why the exception exists.  If something about strict mode confuses, check [doc://strict] first.
</field>
<field name="root_node">
879970</field>
<field name="parent_node">
879970</field>
</data>
</node>
