Try the following:
use Modern::Perl; my $number = 5; my $multiplier = 3; say "Product is @{[$number * $multiplier]}";
Output:
Product is 15
In reply to Re: How can we interpolate an expression??
by Kenosis
in thread How can we interpolate an expression??
by Rohit Jain
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |