Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: 2d array

by BillKSmith (Priest)
on Jan 04, 2013 at 20:46 UTC ( #1011717=note: print w/replies, xml ) Need Help??


in reply to Re^2: 2d array
in thread 2d array

I do not understand your application well enough to offer a solution, but I do have several comments.

Awkward perl code is usually a symptom of a poor choice of data structures. Your code makes extensive use of "symbolic reference." Most text books consider this very poor practice. (It is not even allowed under "use strict".) My first guess would be to change your matrix to hash-of-hashes.

Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011717]
help
Chatterbox?
[prathap keerthipati]: how to update perl in unix
[hippo]: yum update perl
[hippo]: Other package managers are available
LanX wouldn't update system Perl!
[Discipulus]: prathap keerthipati might be it is better to install an alternative Perl instead and do not touch the system one

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (9)
As of 2017-03-23 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.