Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Dealing with Lists and Arrays

by Zaxo (Archbishop)
on Nov 10, 2002 at 23:52 UTC ( [id://211823]=note: print w/replies, xml ) Need Help??


in reply to Dealing with Lists and Arrays

You may be interested in learning splice, map, and grep as well. Perl is truly rich in methods of manipulating lists and arrays.

Pronouncements like your programming friend made about what can be done with lists usually have a hidden assumption about how the list is implemented at low level. That could be linked nodes, fixed records adjacent in memory, or some flavor of tree. Each has strengths and weaknesses in the fundamental operations of insertion, deletion, searching, and indexing.

After Compline,
Zaxo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-18 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found