in reply to Re^3: trouble assigning values to hash
in thread trouble assigning values to hash
Just one more picky observation concerning the updated OP code:
The sub-pattern \d+\d+\d+\d in the updated regex
/(\d+\-\d+\-\d+\s\d+\d+\d+\d)/
can be more concisely (and, IMHO, better) written as \d{4,} ('four or more digits'). Moreover, I think I would use some formatting and fewer backwhacks to wind up with something like
m{ (\d+ - \d+ - \d+ \s \d{4,}) }xms
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: trouble assigning values to hash
by bluethundr (Pilgrim) on Aug 27, 2010 at 17:49 UTC | |
by AnomalousMonk (Archbishop) on Aug 27, 2010 at 22:40 UTC |