![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PERL: How do I get both sizes of a matrix? | foo.bar | Shell Programming and Scripting | 2 | 09-26-2007 06:25 PM |
| perl - print to a log file and screen | mjays | Shell Programming and Scripting | 6 | 08-21-2007 09:34 AM |
| perl print command | vasikaran | UNIX for Dummies Questions & Answers | 2 | 08-07-2005 05:47 AM |
| Perl: Sorting an associative array | tine | Shell Programming and Scripting | 2 | 10-29-2003 04:11 AM |
| PERL: print if files present | perleo | Shell Programming and Scripting | 2 | 03-04-2003 03:53 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hello guys, I have in PERL an associative 2-dimensional array, called matrix. The array (actually the matrix) is made up like this Code:
matrix[a][c] = x; matrix[a][d] = y; matrix[b][c] = w; matrix[b][d] = z; ... but the names a, b, c, d are set just at runtime. The question is: how can i get all the keys of the matrix (i.e. a, b, c, d) and print the all matrix? Thank you very much for your help! Sergio |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|