Hi all,
I need some method to evaluate a numeric expression found in a string
context.. like the following example:
$x="7-5";
printf " x= $x \n"; # it will print x=7-5, this is the string context.
$y= $x + 10;
printf " y= $y \n"; # it will print y=17 BUT I NEED IT PRINT y=12,
Any help would be highly appreciated..
Thanks And Regards,
Eliyah
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>