Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: (FoxUni) Re(3): Breaking output lines into N-element chunks

by demerphq (Chancellor)
on Apr 15, 2002 at 09:54 UTC ( [id://159123]=note: print w/replies, xml ) Need Help??


in reply to Re(3): Breaking output lines into N-element chunks
in thread Breaking output lines into N-element chunks

at least loop from 0 to $#vars instead of mucking about with length-1

Actually I used to do this. But I have started getting out of the habit as I understand $#array has been removed from Perl6.

Do you really think its that confusing? @array is a one based number, and indexes are zero based. Seems pretty reasonable to me...

:-)

Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.

  • Comment on Re: (FoxUni) Re(3): Breaking output lines into N-element chunks

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 04:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found