No such thing as a small change | |
PerlMonks |
Re^3: DateTime::Format::Flexible; for Log Parse with multiple formatted linesby 1nickt (Canon) |
on Mar 23, 2017 at 21:39 UTC ( [id://1185683]=note: print w/replies, xml ) | Need Help?? |
Hi, I was referring to the sample data lines you included, which are not in code tags and thus are mangled. This had prevented me from trying to solve your problem ... An SSCCE here would, as I said, contain only enough code and data to demonstrate your issue. Using the __DATA__ section in a file allows you to include data and code in the same file but keep them separate. Perfect for an SSCCE. For example:
Output: (edit: updated example with OP's data) Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|