BTW: many monks will recommend use warnings; use strict;: this would have shown your original \$ref_hash{'VM-1'} issue at compile-time.
edit: ... and many consider a more readable de-referencing for a hashref to be \$ref_hash->{'VM-1'} instead of \$$ref_hash{'VM-1'} (I knew I wanted to say two things, but when I replied to myself, I couldn't recall the second.)
In reply to Re^5: Perl Tk label references
by pryrt
in thread Perl Tk label references
by thimes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |