programming-examples/perl/Basics/Square $var.pl
2019-11-18 14:44:36 +01:00

7 lines
105 B
Perl

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