Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Homework help

by !1 (Hermit)
on Oct 30, 2004 at 22:16 UTC ( [id://404067]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # perl -l
    my %scores = (
    ...
    4 => 1
    R => 1
    5 => 1
    
  2. or download this
    my %scores = (
       map( { $_ =>  1 } qw( A E I L N O R S T U ) ),
    ...
    );
    print "$_ => $scores{$_}" for keys %scores;
    __END__
    

Log In?
Username:
Password:

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

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

    No recent polls found