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

7 lines
105 B
Perl
Raw Normal View History

2019-11-18 14:44:36 +01:00
#!/usr/bin/perl
$var=0;
$var **= 2; # Square $var
print "\$var squared is $var\n";