8 lines
234 B
Perl
8 lines
234 B
Perl
$string = "Top 10";
|
|
$number = 10.0;
|
|
print "Number is 10.0 and string is 'Top 10'\n\n";
|
|
|
|
$concatenate = $number . $string;
|
|
|
|
print "Concatenating a number and a string: $concatenate\n";
|