note fullermd <blockquote><p> &#91;...] Test::HTTP::LocalServer &#91;...] substitute the base URI for accessing the modem to be a file:// URI instead. </p></blockquote> <p> T:HTTP::LocalServer seems to pretty much mirror what I'm doing. With a bit less hardcoded single-purpose, anyway. </p> <p> I don't like the idea of going <c>file:///</c> though, since that means I'd have to add an extra magic hook in the code to say "here, use this fake URL instead", which would defeat a lot of the purpose of running through the code path in the first place. It would still run the <c>LWP</c> bits, but the URL construction would be bypassed. Also doesn't give it the chance to double check that it properly errors on <c>404</c> as the test currently does either. </p> 945797 945798