Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Rotating a text File

by igelkott (Priest)
on Jun 03, 2008 at 16:04 UTC ( [id://689922]=note: print w/replies, xml ) Need Help??


in reply to Rotating a text File

Do you perhaps mean Transpose?

If your 2D array is stored as $array[$i][$j], just write it out as $array[$j][$i]. For more help, see the tutorial on 2D arrays (technically, Arrays of Arrays).

I didn't quite get the details regarding your titles but this should get you pretty close ... as long as I understood the question correctly.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2024-04-20 04:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found