http://www.perlmonks.org?node_id=1039666


in reply to Re^3: Whats with the autoincrementation of a string
in thread Whats with the autoincrementation of a string

and something like "zaz" will become " aba" right?

  • Comment on Re^4: Whats with the autoincrementation of a string

Replies are listed 'Best First'.
Re^5: Whats with the autoincrementation of a string
by space_monk (Chaplain) on Jun 19, 2013 at 05:52 UTC

    Nooo!!! The standard of arithmetic is going downhill nowadays! :-P

    z a z + 1 ------ z b a carry 1
    If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)

      ah!!!! I get it NOW. I feel really foolish :P

      so azz will be baa?

        so azz will be baa?

        I feel a little sheepish saying that is correct :-)

        If you spot any bugs in my solutions, it's because I've deliberately left them in as an exercise for the reader! :-)