Variables
Associative Array Example
- The typical application for an associative array is to statically
map one sequence of values to another
- The following application uses more Perl syntax than we have learned
so far, but how the associative array works is what's important
Exercise |
- Run the mc example script (a Morse Code converter).
The script reads input lines from your keyboard.
- You can type letters and numbers to output Morse Code,
or, you can type Morse Code to output letters and numbers.
- Take a look at the script itself (click the "mc" icon).
|
No
Hint
To
Start
|

mc
|