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

8 lines
108 B
Perl

#!/usr/bin/perl
$var=0;
$var -= 1; # Subtract 1 from $var
print "\$var -= 1 is $var\n";