The list of list has references as elements, so writing the assignment as @newlist = @{$LoL[$n]}; will dereference this reference to a list.
Have a look at perldata and perlfaq4.
Hope this helps, -gjb-
In reply to Re: extracting a list from a lists of lists
by gjb
in thread extracting a list from a lists of lists
by tachekent
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |