Robin Sheat <[EMAIL PROTECTED]> writes:

> Note that if you have a string such as "000", you can treat it like a 
> number:
> my $a = '000';
> $a++;
> print "$a\n";
>
> This will print '001'.

That looks like the tidiest way to do it in this  case.
Just start the count with my $a and were done.

  Thanks


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to