Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: 2d array

by jnarayan81 (Sexton)
on Jan 04, 2013 at 12:18 UTC ( [id://1011621]=note: print w/replies, xml ) Need Help??


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

Hi Bill, Thanks for the reply. I updated the question with some portion of my script. Can you please suggest me how to get rid of manual modification in script. Thanks Jit

Replies are listed 'Best First'.
Re^3: 2d array
by BillKSmith (Monsignor) on Jan 04, 2013 at 20:46 UTC

    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1011621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-04-19 06:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found