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.

Replies are listed 'Best First'.
Re: Re: Re: Non-destructive array processing
by BrowserUk (Patriarch) 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.