But it's usually best to leave this sort of thing up to Interpolation or perhaps one of the templating modules.my $var = q[date $date]; my $date = localtime; print eval qq["$var"]' __output__ date Tue Mar 9 18:11:43 2004
_________
broquaint
In reply to Re: Evaluating variables when called
by broquaint
in thread Evaluating variables when called
by qadwjoh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |