Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Passing input through a hash then displaying results

by rkrieger (Friar)
on Jan 23, 2007 at 14:13 UTC ( #596097=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
        print "$line - $grade\n";
    }
    
  2. or download this
    foreach my $grade ( 4, 8, 45, 48, 50, 51, 57, 60, 64, 66 , 90, 91, 99,
    + 100) {
        my $chopped = _chop_grade($grade);
    ...
        print "${grade}: ${rounded}/${grade_rounded} (Rounded) " .
            "- ${chopped}/${grade_chopped} (Chopped)\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (10)
As of 2018-10-15 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When I need money for a bigger acquisition, I usually ...














    Results (82 votes). Check out past polls.

    Notices?