Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://228731]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2018-04-20 13:40 GMT
Find Nodes?
    Voting Booth?