Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: How can we interpolate an expression??

by ww (Bishop)
on Sep 20, 2012 at 18:51 UTC ( #994730=note: print w/ replies, xml ) Need Help??

in reply to How can we interpolate an expression??

... as a one-liner; nothing else here is new, other than escaping the variables to avoid interpolation.

C:\>perl -E "my $num1=3; my $num2=4; say \"The result of \$num1 * \$nu +m2 is: \" . $num1*$num2;" The result of $num1 * $num2 is: 12

Comment on Re: How can we interpolate an expression??
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://994730]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (11)
As of 2015-11-30 18:15 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls