LWP::Simple sits on top of LWP::UserAgent, so whatever the later can talk the former can handle as well (and the later can handle SSL/TLS fine so long as Crypt::SSLeay is installed).

$ perl -MLWP::Simple -e 'getprint("https://www.microsoft.com")'|head <!--TOOLBAR_EXEMPT--> + <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1 +" /> <TITLE>Microsoft Corporation</TITLE> <META http-equiv="PICS-Label" content="(PICS-1.1 &quot;http://www.rsac +.org/ratingsv01.html&quot; l gen true r (n 0 s 0 v 0 l 0))" /> <META NAME="KEYWORDS" CONTENT="products; headlines; downloads; news; W +eb site; what's new; solutions; services; software; contests; corpora +te news;" /> <META NAME="DESCRIPTION" CONTENT="The entry page to Microsoft's Web si +te. Find software, solutions, answers, support, and Microsoft news." +/> <META NAME="MS.LOCALE" CONTENT="EN-US" /> <META NAME="CATEGORY" CONTENT="home page" />

Update: Sorry, Crypt:: not Net::SSLeay; corrected above.


In reply to Re: Re: execute remote cgi from perl script, how? by Fletch
in thread execute remote cgi from perl script, how? by boat73

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.