I am creating a hash like
my %hash= ( "rabbit" = "pap", "triangle" = "tri", and so on.. +);
I want to match key in input and replace it with its value. How can i do it? Thank you
In reply to Pattern matching with hash keys by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |