Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: reading input into a number of arrays

by tobyink (Canon)
on Feb 25, 2020 at 21:41 UTC ( #11113417=note: print w/replies, xml ) Need Help??


in reply to Re: reading input into a number of arrays
in thread reading input into a number of arrays

You can emulate multi-dimentional arrays with hashes though. It's a feature not many people use.

my %multidim; my $x = 3; my $y = 4; $multidim{ $x, $y } = 42; print $multidim{ $x, $y }, "\n";

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2020-04-01 09:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    To "Disagree to disagree" means to:









    Results (187 votes). Check out past polls.

    Notices?