Subject: | LWP::Simple::mirror() returning a "500" for local errors. |
LWP::Simple::mirror() returns a "500" status code if there was a local
error. The one I observed was that the local file name length exceeded
the filesystems path length limit.
Pathological example:
perl -MLWP::Simple -e 'print LWP::Simple::mirror("http://google.de/",
"/tmp/".("x" x 10000))."\n";'