Regarding your question, your description is not quite accurate. There seems to be a date-time stamp in addition to the key-value pairs.
The possible quotes around the values make it a little tricky. The simplest way to deal with those is to use the Text::xSV module with the set_sep set to a single space. The first three elements will be your date components and the rest will be the key-value pairs that you can split on the '='.
Another way to approach is to roll your own parser with a gammar derived from the structure of your line and some choice regexps. But I'd try the module first.
-Mark
In reply to Re: a regex question
by kvale
in thread a regex question
by johnnywang
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |