Kod: Zaznacz cały
Error GETing https://gmail.com: Can't verify SSL peers without knowning which Certificate Authorities to trust at ./mech.pl line 12
Kod: Zaznacz cały
#!/usr/bin/perl
use WWW::Mechanize;
use Test::More;
use Crypt::SSLeay;
use strict;
my $expected = "Odebrane";
my $url = "https://gmail.com";
my $mech = WWW::Mechanize->new();
$mech->agent_alias( 'Windows IE 6' );
$mech->get( $url );