I can view the page without problems in Firefox.

Running the Perl code I get a slightly different error:

Error GETing https://contests.arrl.org/: Can't connect to contests.arr +l.org:443 (certificate verify failed) at ./1.pl line 13.

Similarly, wget complains:

$ wget -O- https://contests.arrl.org/ --2024-09-09 23:28:00-- https://contests.arrl.org/ Resolving contests.arrl.org (contests.arrl.org)... 44.212.212.223 Connecting to contests.arrl.org (contests.arrl.org)|44.212.212.223|:44 +3... connected. ERROR: cannot verify contests.arrl.org's certificate, issued by ‘CN=Go + Daddy Secure Certificate Authority - G2,OU=http://certs.godaddy.com/ +repository/,O=GoDaddy.com\\, Inc.,L=Scottsdale,ST=Arizona,C=US’: Unable to locally verify the issuer's authority. To connect to contests.arrl.org insecurely, use `--no-check-certificat +e'.

and so does curl:

$ curl https://contests.arrl.org/ curl: (60) SSL certificate problem: unable to get local issuer certifi +cate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could + not establish a secure connection to it. To learn more about this situatio +n and how to fix it, please visit the web page mentioned above.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

In reply to Re: Mechanize - Bad File descriptor by choroba
in thread Mechanize - Bad File descriptor by Marshall

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.