Hi Phil,
I also struggled with this one. After having googled "perl 9z 10", I found the solution: perl finds a 9, and thats the number it increments; so in this case it does not regard the whole string.
It's probably more clear if you try
$a = "8z"; print ++$a, "\n";
Good luck with your Perl course.
Kees.
|