Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Non-destructive array processing

by dragonchild (Archbishop)
on Jan 21, 2003 at 16:21 UTC ( #228731=note: print w/ replies, xml ) Need Help??


in reply to Re: Non-destructive array processing
in thread Non-destructive array processing

In what context would you use the $next variable? It looks to be useful only for setting a first value to return. (Sorta like "Skip the first N values" thingy...)

Is that what it is?

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.


Comment on Re: Re: Non-destructive array processing
Download Code
Re: Re: Re: Non-destructive array processing
by BrowserUk (Pope) on Jan 21, 2003 at 17:28 UTC

    That's it exactly. Skip the $first n and then give'm to me in chunks of $size after that.


    Examine what is said, not who speaks.

    The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2014-07-30 02:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls