The problem is that your hashref is declared as $state_smybol but you refer to it as $state_symbol which is clearly different. use strict would have caught that.
In reply to Re: Dereference inside a regex
by hippo
in thread Dereference inside a regex
by tobias_hofer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |