[Kc] Perl LWP (libwww-perl) problems using a proxy that requires Authentication
Andrew Moore
amoore at mooresystems.com
Wed Mar 25 10:33:05 PDT 2009
2009/3/25 Daryl Fallin <darylvf at gmail.com>:
> my $req = HTTP::Request->new(GET =>
> 'https://$username:$password\@qualysguard.qualys.com/msp/scan_report_list.php');
This may or may not be the only problem, but I notice that you're
using single quotes here with variables and escaped "@" in them.
Single quotes do not allow any interpolation in them, so those
variables aren't being replaced by their values, and the "@" sign will
still have a backslash in front of it. Perhaps you want to use double
quotes there. They allow variables to be interpolated inside them.
Hope it helps!
-Andy
More information about the kc
mailing list