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 ( #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
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? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2014-12-29 01:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls