in reply to foreach and lists

G'day almoodie,

There seems to be a few things you haven't really understood here:

Here's an example of the type of code you need:

$ perl -Mstrict -Mwarnings -E ' my @nametape = ([24, 101], [25, 102], [23, 103]); for my $arrayref (@nametape) { say "Arrayref values: ", $arrayref->[0], " and ", $arrayref->[ +1]; } ' Arrayref values: 24 and 101 Arrayref values: 25 and 102 Arrayref values: 23 and 103

-- Ken