That did the trick. Amazing how something so simple can be so easily missed. Thank you both very much.if ($key =~ m/(node[0-9]*)/) { if ($key = $1) { print "You entered " .$key. ":" . $ref->{$key}. "\n"; } }
In reply to Re^2: Partial string match -- with a twist.
by smw6181
in thread Partial string match -- with a twist.
by smw6181
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |