Hi! edit: also, yum install perl-Crypt-SSLeay

WWW::Salesforce uses LWP::UserAgent as its method of transport.

In order to ensure your machine can communicate over SSL, you'll need to install the LWP::Protocol::https module.

sudo yum install perl perl-core perl-local-lib gcc make openssl-devel +perl-Crypt-SSLeay eval $(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib) echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal +::lib)"' >>~/.bashrc cpan App::cpanminus cpanm LWP::UserAgent LWP::Protocol::https WWW::Salesforce

The above should put you in a better position.

The usual convention is to install modules in some place designated by local::lib. This way, you aren't going to have to worry about your yum updates breaking your Perl modules.

You also won't have to worry about overwriting one of the system modules that may cause some system Perl application to break.

Discussing such matters in IRC will result in the fastest communication with the community to understand this concept. System-Perl == bad (generic, broad-sweeping statement).


In reply to Re: 500 Can't connect to login.salesforce.com:443 by genio
in thread 500 Can't connect to login.salesforce.com:443 by kunaltyagi

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.