Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Keyed matrix

by Marshall (Monsignor)
on Sep 03, 2012 at 12:09 UTC ( #991405=note: print w/replies, xml ) Need Help??


in reply to Keyed matrix

That is a very "unPerl" idea ( that 3 by 7 array). Perhaps your Perl instructor doesn't understand Perl or perhaps you don't understand the assignment. Ask a question about how to accomplish a general task and you will get a lot of help.

Update:

#!/usr/bin/perl -w use strict; #Ok, here is an idea for you... my %scores = ( "Monday" => ["dishes","1"], "Tuesday" => ["vacuum","2"], "Wednesday" => ["garbage","3"], ); print "@{$scores{Wednesday}}\n"; __END__ Prints: garbage 3

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://991405]
help
Chatterbox?
[SuicideJunkie]: Parse a serial number from a register. But it is humans that type it in originally.
[SuicideJunkie]: No respect for buffer sizes... give them a byte, they take three :D

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (8)
As of 2016-12-07 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.