Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: extracting a list from a lists of lists

by gjb (Vicar)
on Jan 02, 2003 at 00:20 UTC ( #223651=note: print w/replies, xml ) Need Help??


in reply to extracting a list from a lists of lists

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-

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://223651]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2022-10-04 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (16 votes). Check out past polls.

    Notices?