programming-examples/perl/Basics/Subtract 1 from $var.pl

8 lines
108 B
Perl
Raw Normal View History

2019-11-18 14:44:36 +01:00
#!/usr/bin/perl
$var=0;
$var -= 1; # Subtract 1 from $var
print "\$var -= 1 is $var\n";