in reply to
I suggest you take a look at POSIX::strptime.
it might give you more abilities and a cleaner way to do what you ask.
Priority 1, Priority 2, Priority 3
Priority 1, Priority 0, Priority -1
Urgent, important, favour
Data loss, bug, enhancement
Out of scope, out of budget, out of line
Family, friends, work
Impossible, inconceivable, implemented
Results (67 votes),