Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

swap columns in a 2-dim array

by davidj (Priest)
on Jun 17, 2005 at 08:35 UTC ( [id://467617]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            @$arr[$i,$j] = @$arr[$j,$i];
        }
    }
    
  2. or download this
    03 04 01 02 11 08 09 06 07 12 05 10
    03 04 01 02 11 08 09 06 07 12 05 10
    ...
    03 04 01 02 11 08 09 06 07 12 05 10
    03 04 01 02 11 08 09 06 07 12 05 10
    03 04 01 02 11 08 09 06 07 12 05 10
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-03-28 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found