Stupid Perl/Apache Question

Kevin D. Clark kclark at elbrysnetworks.com
Thu Dec 7 18:06:51 EST 2006


What happens if you code your credentials this way?:

  $mech->credentials(
      'host.domain.tld:443',
      '//cgi-bin/myscript.cgi/',
      'adminuser' => 'adminpass'
    );

The LWP (which WWW::Mechanize is based upon) mentions this method.

Also, can you verify that you are creating your mech object thusly, so
we can be sure we're getting the best error messages possible?:

  my $mech = WWW::Mechanize->new( autocheck => 1 ); 

Hope this helps,

--kevin
-- 
GnuPG ID: B280F24E              Never could stand that dog.
alumni.unh.edu!kdc                   -- Tom Waits



More information about the gnhlug-discuss mailing list