All rite i will change the syntax as it is wrong, However, What i want is to match key value with input string.
Like If $str contains "Rabbit" or "rabbit" i want it to be replaced with "pap". I am tring to use hash as there are n number values that i want to match and replace
In reply to Re^2: Pattern matching with hash keys
by tej
in thread Pattern matching with hash keys
by tej
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |