my $a = ''; my $str = 'Hello $a'; $a = 'Kevin'; print eval qq{"$str"} [download]
In reply to Re: Evaluate variable while using by sectokia in thread Evaluate variable while using by chickenman