spencerr1 has asked for the wisdom of the Perl Monks concerning the following question:
I'm doing an exercise. I have an hash. Course number => Course name
%course (
"2CPR2B" => "C Language",
"4PL400" => "Perl Language");
I'm asking for user to enter course number on cmd line and I want to print the value of the entered course number. For example
You are taking (course name) this summer
thanks Mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Hash question
by NetWallah (Canon) on Apr 13, 2013 at 16:39 UTC | |
by spencerr1 (Novice) on Apr 13, 2013 at 18:30 UTC | |
|
Re: Hash question (perlintro/perlfaq)
by Anonymous Monk on Apr 14, 2013 at 08:41 UTC |