<?xml version="1.0" encoding="windows-1252"?>
<node id="236556" title="Re: local element of my() array????" created="2003-02-19 01:22:41" updated="2005-06-03 21:55:26">
<type id="11">
note</type>
<author id="20087">
extremely</author>
<data>
<field name="doctext">
Try this one:
&lt;code&gt;
#!/usr/bin/perl -w
use strict;
my @k = (1..9);
my $m;
{ local $k[5]="middle";
  $m = \@k;
  print "@k\n";
  my $m = [ 'a'..'z' ];
  print "@$m\n";
}
print "@$m\n";
## Returns:
#1 2 3 4 5 middle 7 8 9
#a b c d e f g h i j k l m n o p q r s t u v w x y z
#1 2 3 4 5 6 7 8 9
&lt;/code&gt;
&lt;p&gt;Pretty ugly, huh?
&lt;p&gt;&lt;i&gt;-- &lt;br&gt;
$you = new YOU;&lt;br&gt;
honk() if $you-&gt;love(perl)&lt;/i&gt;</field>
<field name="root_node">
236433</field>
<field name="parent_node">
236433</field>
</data>
</node>
