Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Array Splicing: Need Help!

by Anonymous Monk
on May 26, 2005 at 15:05 UTC ( [id://460719]=note: print w/replies, xml ) Need Help??


in reply to Re: Array Splicing: Need Help!
in thread Array Splicing: Need Help!

Cool! Does that mean we can always replace "splice" with "slicing"?
Is there any case where only "splice" works but not slicing?

Replies are listed 'Best First'.
Re^3: Array Splicing: Need Help!
by chromatic (Archbishop) on May 26, 2005 at 21:16 UTC

    Splicing modifies the array. Slicing returns a list without modifying the original data structure (whether it's a hash, an array, or a list).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-24 12:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found