function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
TitanTitan 

Windows platform -- Can't Locate WWW::Salesforce

I am using perl version 5.8.8 (ActiveState). Using ppm, I can not find WWW::Salesforce module (See below):


C:\Documents and Settings\xxx>ppm search Salesforce
*** no packages matching 'Salesforce' found ***


Thanks,
Behzad
Ron HessRon Hess
try ppm search WWW::Salesforce
dclaardclaar

Here's what I did, for activestate perl 5.10.1, build 1006:

  1. Installed SOAP-Lite from the PPM GUI. (Other pages talk about installing Crypt-SSLeay, but--at least in my vanilla perl install--it is already there, so no worries!)
  2. Added trouchelle unstable repository in the Edit->Preferences->Repositories tab of the PPM GUI (http://trouchelle.com/ppm10/unstable/package.xml)
  3. Installed WWW-Salesforce from the GUI.
  4. Disabled the unstable repository, because I want to know if I'm taking a risk installing something.
  5. Fired up a windows cmd prompt and installed WWW::Salesforce::Simple, as it wasn't in any PPM.
  6. perl -MCPAN -e shell;
    install WWW::Salesforce::Simple

Happy happy, joy, joy, it works! (Of course, it still needs the patch I mentioned in another forum post to avoid an annoying undefined variable message...)

 

Now, all of the above could be done from the windows command prompt; that's left as an exercise for the reader. :smileytongue: (Gosh, I hate Lithium's smileys)