<?xml version="1.0" encoding="windows-1252"?>
<node id="833054" title="Re^2: cross scope gotos?" created="2010-04-06 11:19:58" updated="2010-04-06 11:19:58">
<type id="11">
note</type>
<author id="708738">
LanX</author>
<data>
<field name="doctext">
&lt;i&gt; &gt; Basically anywhere in the current program that hasn't been optimised away: &lt;/i&gt;&lt;P&gt;

not that easy!&lt;P&gt;

&lt;c&gt;
perl -e'
goto INTO;
print "Start";
for $i (0..9) {
  INTO: print "STOP";
};'
Can't "goto" into the middle of a foreach loop at -e line 4.
&lt;/c&gt;&lt;P&gt;

You can't jump to a label out of the current or previous  frames!&lt;P&gt;

see [id://833032] and [doc://goto]&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">
833015</field>
<field name="parent_node">
833026</field>
</data>
</node>
