in reply to Re^3: Subroutine Question
in thread Subroutine Question

I found the bug :) I had my varriables mixed up. The reason that I created a second subroutine was so that I could capitalize the first letter of the first number. It was a part of the exercize.

Replies are listed 'Best First'.
Re^5: Subroutine Question
by frozenwithjoy (Priest) on Jun 27, 2012 at 22:52 UTC
    Good to hear that you've got it working. If you look at line 20 of the code I posted, it uses ucfirst to capitalize the first letter and gets rid of the need for the second subroutine.