Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Puzzled by array

by neniro (Priest)
on Jul 06, 2005 at 18:01 UTC ( [id://472904]=note: print w/replies, xml ) Need Help??


in reply to Puzzled by array

It's easier to see that the array @letters is fully rotated if you change the loop to: for (1..@letters-1) { so you can see the last step before full rotation.

Replies are listed 'Best First'.
Re^2: Puzzled by array
by kiat (Vicar) on Jul 06, 2005 at 18:24 UTC
    Thanks, neniro!

    That and rammell's update 2 helped. As I was brushing my teeth, it suddenly hit that I was having something like

    (last_changed_array_of_letters last_changed_array_of_letters last_changed_array_of_letters last_changed_array_of_letters)

    in @array2.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-16 20:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found