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

Re: Accessing a matrix value from a dictionary of named coordinate tuples

by kcott (Bishop)
on Mar 11, 2014 at 22:40 UTC ( #1077920=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
        my $element = $matrix->[shift @$coords];
        @$coords ? get_element($element, $coords) : $element;
    }
    
  2. or download this
    a => A
    b => B
    ...
    i => I
    p => P
    s => S
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1077920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2021-05-08 15:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (96 votes). Check out past polls.

    Notices?