programming-examples/perl/_Basics/Using auto-increment operator for a string.pl
2019-11-15 12:59:38 +01:00

6 lines
84 B
Perl

#!/usr/bin/perl -w
$a = "bz"; print ++$a, "\n";
$a = "Zz"; print ++$a, "\n";