use strict; my %hash=qw/camel desert dolphin water/; eval("print qq{A camel lives in the $hash{'camel'}, as opposed to a do +lphin, who lives in the $hash{'dolphin'}\n};");
CU
Robartes-
In reply to Re: eval using hash values
by robartes
in thread eval using hash values
by bernie_simon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |