in reply to Re^2: Time matching YYYY-MM-DD HH:MM:SS.SSS
in thread Time matching YYYY-MM-DD HH:MM:SS.SSS
Having said that, your code is ... well .. just God-awful.
It violates just about every rule of good coding practice and style going. I haven't the will to go though a complete list (maybe some other kind soul will have the patience), but just for starters:
Add
at the start of your code. You will be amazed!use warnings; use strict;
The two-arg form of open is frowned upon. The one-arg form is vomit inducing.
In your second branch, you have $i = $i++; which is definitely not what you need, and may in fact be the cause of all your issues.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Time matching YYYY-MM-DD HH:MM:SS.SSS
by PRyanRay (Novice) on Jul 26, 2012 at 19:19 UTC | |
by dave_the_m (Monsignor) on Jul 26, 2012 at 19:44 UTC | |
by PRyanRay (Novice) on Jul 26, 2012 at 19:54 UTC | |
by dave_the_m (Monsignor) on Jul 27, 2012 at 11:34 UTC | |
by PRyanRay (Novice) on Jul 27, 2012 at 19:34 UTC | |
|