> What is the equivalent in LWP::UserAgent of globoff (-g)?

There is no equivalent. LWP is not interpreting the URL in some special way like curl does so it does not need to have some way to switch this special interpretation off. Your problem must be something different.
I rather suspect that the main difference is the use of -k in curl which disables the certificate validation. While you say that you are using an insecure connection with both you don't say how you are doing this with LWP so it might be done wrong there (verify_hostname => 0 might not be sufficient). Likely the certificate returned by the server does not match the URL (i.e. the IPv6 address in it) at all and using curl without -k will likely fail too.
To get more information I recommend to run your program with SSL debugging, i.e. perl -MIO::Socket::SSL=debug4 program.pl.


In reply to Re: LWP::Useragent and globbing? by noxxi
in thread LWP::Useragent and globbing? by leefp

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.