programming-examples/perl/_Basics/To set a variable, use the = operator.pl
2019-11-15 12:59:38 +01:00

7 lines
101 B
Perl

# Setting scalar variables.
$var = "Text";
$number_var = 44.5;
print $var;
print $number_var;