Romain Groleau <[EMAIL PROTECTED]> wrote: : : sub rnode_list { : : my ($a)[EMAIL PROTECTED]; : my $node_l=n_list($a); : print "$node_l[1]"; <<=== line x
$node_l[1] is part of an array named @node_l which has not been declared or filled in rnode_list(). You probably want: print $node_l->[1]; Which should print something beginning with "ARRAY". Like: ARRAY(0x1824228). HTH, Charles K. Clarkson -- Mobile Homes Specialist 254 968-8328 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>