programming-examples/perl/Basics/To set a variable, use the = operator.pl
2019-11-18 14:44:36 +01:00

7 lines
101 B
Perl

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