"John W. Krahn" writes:
> You are still not testing any cases where the month and/or year need
> to be changed. Those only modify the day value.
I see what you mean..
These are a little tougher (at least one of them rolls back month and
year):
ev 100404 5
send state tax payment by 15th
ev
Harry Putnam wrote:
"John W. Krahn" writes:
[...]
The main problem is that you are not testing edge cases like:
ev 101201 3
Or:
ev 100101 3
If you did you would get an error message like:
Month '12' out of range 0..11 at Why_is_the_answer_right.pl line 74
Thanks for the help clean
"John W. Krahn" writes:
[...]
> The main problem is that you are not testing edge cases like:
>
> ev 101201 3
>
> Or:
>
> ev 100101 3
>
> If you did you would get an error message like:
>
> Month '12' out of range 0..11 at Why_is_the_answer_right.pl line 74
Thanks for the help cleaning the
Harry Putnam wrote:
I may have turned the question around from the usual approach, but I'm
having trouble seeing why my script gives the right answer.
The script reads data that contains dates in the format YYMMDD N, the
N isn't part of the date but is also a digit.
What the script tries to do