Added Carp::Always as suggested.

It doesn't appear to have given anything more

main::(test-salesforce-03-cpan.pl:7): 7: my $uid = 'uid@domain.trial.sandbox1'; DB<1> c Incorrect parameter at c:/Perl64/site/lib/SOAP/Lite.pm line 1993. SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +e8e8)', 10, '', 'loginResponse ', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm li +ne 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495e1a8)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +e1d8)', 5, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495db60)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +de78)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495ed20)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +dde8)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495eb28)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +dc50)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 2037 SOAP::SOM::_traverse_tree('SOAP::SOM=HASH(0x4960d10)', 'ARRAY( +0x495ee40)', '', 'loginRespons e', 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm l +ine 2025 SOAP::SOM::_traverse('SOAP::SOM=HASH(0x4960d10)', 'ARRAY(0x495 +dd58)', 1, '', 'loginResponse' , 'result', 'sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm lin +e 1985 SOAP::SOM::match('SOAP::SOM=HASH(0x4960d10)', '//loginResponse +/result/sessionId') called at c:/Perl64/site/lib/SOAP/Lite.pm line 1910 SOAP::SOM::valueof('SOAP::SOM=HASH(0x4960d10)', '//loginRespon +se/result/sessionId') called a t c:/Perl64/site/lib/WWW/Salesforce.pm line 505 WWW::Salesforce::login('WWW::Salesforce::Simple', 'username', +'uid@domain.trial.sandbox 1', 'password', 'passwordtoken') called at c:/Perl64/site/lib/WWW/Sale +sforce/S imple.pm line 19 WWW::Salesforce::Simple::new('WWW::Salesforce::Simple', 'usern +ame', 'uid@domain.trial.s andbox1', 'password', 'passwordtoken') called at test-salesforce-03-cp +an.pl li ne 17 Debugged program terminated. Use q to quit or R to restart,

In reply to Re^2: Help with Salesforce.pm module by Mulga
in thread Help with Salesforce.pm module by Mulga

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.