in reply to How can we interpolate an expression??
"say" is a short hand way to add the "\n" at the end of the line.my $number = 5; my $multiplier = 3; # Use print instead of "say" print "Product is ", $number * $multiplier, "\n"; __END__ Product is 15
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How can we interpolate an expression??
by Rohit Jain (Sexton) on Sep 21, 2012 at 07:52 UTC | |
by Marshall (Canon) on Sep 21, 2012 at 08:07 UTC |