View Single Post
  #2 (permalink)  
Old January 18th, 2007, 04:39 PM
Kees Goet Kees Goet is offline
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote