Try separating the username & password with a colon.

KC

On 2/14/06, Jerry Kassebaum <[EMAIL PROTECTED]> wrote:
The code below is modified from Suehring's "Beginning Perl Web Development".
  I'm thinking it is supposed to get me the format for entering my username
and password. However, the result I get is "2".

Help?

Also, I don't know what that "Subscrbers" line would be for.


use LWP;

$browser = LWP::UserAgent->new();

$result = $browser->credentials(' https://optionsxpress.com/login.asp',
        'Subscribers',
        'myname' => 'badpassword');

print "$result";

<>;


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to