in reply to garbage at end of string in strptime
Well, perhaps the problem is with the $string you supplied to the strptime sub as the 2nd argument? It's hard to tell while you didn't provide any of your code.
Sorry if my advice was wrong.
In Section
Seekers of Perl Wisdom