"Rodrick Brown" schreef: > my $arrayRef = [ 1, 2, 3, ['a', 'b', 'c', ["Hello"] ]]; > > I have no problem returning single elements but how would one walk > this list of elements with say a for loop?
Start writing it differently, maybe like: my $data = [ 1, 2, 3, [ 'a', 'b', 'c', [ 'Hello' ], ], ]; or compacter like: my $data = [ qw/1 2 3/, [ qw/a b c/, [ qw/Hello/ ], ], ]; -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/