Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Puzzled by array

by neniro (Priest)
on Jul 06, 2005 at 18:01 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2023-01-30 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?