Um, getstore already does that?
OTOH see sub LWP::UserAgent::resume
In reply to Re: LWP::Simple Getstore memory by Anonymous Monk in thread LWP::Simple Getstore memory by AI Cowboy