Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re^3: Working Through An Array In Chunks

by Zed_Lopez (Chaplain)
on Dec 07, 2004 at 01:42 UTC ( #412803=note: print w/replies, xml ) Need Help??

in reply to Re^2: Working Through An Array In Chunks
in thread Working Through An Array In Chunks

"splice" makes perfect sense when you're extracting middle elements from an array and thus splicing together the leading and trailing elements.

It makes, um, a little less sense when you're using it just to remove elements from the head or tail (to be clear, I'm speaking only of the command's name, not of its appropriateness for the task.)

Though you could argue, say, that you're splicing together array position 0 and the middle of the array when you're removing elements from the head...

  • Comment on Re^3: Working Through An Array In Chunks

Replies are listed 'Best First'.
Re^4: Working Through An Array In Chunks
by Cody Pendant (Prior) on Dec 07, 2004 at 02:36 UTC
    I get your point.

    Does the word in this context originate with Perl, or is it used in other languages as well? I want to write to Larry and ask.

    =~y~b-v~a-z~s; print

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (1)
As of 2023-06-04 20:44 GMT
Find Nodes?
    Voting Booth?
    How often do you go to conferences?

    Results (22 votes). Check out past polls.