I'm using LWP:Simple to retrieve a small xml file (<2kb) from a web server that requires authentication, but it's unbelievably slow.... it takes about 25 seconds!
use LWP::Simple;
$URL='http://'.USER.':'.$PASSWORD.'@'.$IPADD.':'.$PORT.'/cgi-bin/status.xml';
$myxml = get($URL);
I can do the equivalent in PHP using file_get_contents(), which takes a blink of the eye. Any ideas why LWP:Simple is being so slow?
In reply to LWP:Simple too slow by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |