Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

by kcott (Archbishop)
on Mar 11, 2014 at 22:40 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1077920]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-25 07:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found