... i am not sure what map does.
See map. (Update: See also Map: The Basics in the Tutorials section.)
... creating a dictionary of words for values and for keys an array foreach number $#dict ...
@dict is an array of all the words known to the program. %encode is a hash associating any (known) word to its index in the @dict array, with error handling.
... i ... think you have implemented an error code for unrecognised words ...
Yes.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: Using Positions from one array to find the value in the same position of another.
by AnomalousMonk
in thread Using Positions from one array to find the value in the same position of another.
by RuZombieSlayer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |