in reply to How can we interpolate an expression??
use warnings; use strict; use 5.14.0; my $number = 5; my $multiplier = 3; say "Product is $number * $multiplier"; say "Product is ", $number * $multiplier; __END__ Product is 5 * 3 Product is 15
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How can we interpolate an expression??
by Rohit Jain (Sexton) on Sep 20, 2012 at 18:14 UTC | |
by kennethk (Abbot) on Sep 20, 2012 at 18:31 UTC | |
by Rohit Jain (Sexton) on Sep 20, 2012 at 18:39 UTC |
In Section
Seekers of Perl Wisdom