programming-examples/perl/_Basics/Square $var.pl

7 lines
105 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl
$var=0;
$var **= 2; # Square $var
print "\$var squared is $var\n";