Break out the bulky, slow Date::Manip.
... use Date::Manip; if (/>Updated: (.*?)</ && $date = ParseDate($1)) { &do_something_with($date); } else { warn "no parsum date!\n"; &fail_gracefully; }
Date::Manip does have the advantage of parsing almost anything that can be a date.
In reply to Re: Re: Re: my code error-ing out trying to grab html
by zengargoyle
in thread my code error-ing out trying to grab html
by RayRay459
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |