programming-examples/perl/_Basics/Square $var.pl
2019-11-15 12:59:38 +01:00

7 lines
105 B
Perl

#!/usr/bin/perl
$var=0;
$var **= 2; # Square $var
print "\$var squared is $var\n";