I notice that you're using a plain string, rather than $name, as the key to the hash. There is nothing syntactically wrong with your snippet, though.
What do you get when you run it?
In reply to Re: single line if conditional
by Roy Johnson
in thread single line if conditional
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |