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

8 lines
108 B
Perl
Raw Normal View History

2019-11-15 12:59:38 +01:00
#!/usr/bin/perl
$var=0;
$var -= 1; # Subtract 1 from $var
print "\$var -= 1 is $var\n";