I have a Perl app that runs some perforce operations, in the end I would like it to upload the results to SharePoint website.
What is the simplest Perl script that can accomplish a task of adding a document to SharePoint?
The script would need to run on Solaris and use as few as possible external libraries as possible (definetely pure classic Perl) getting anything additional installed on these unix boxes is a pain and would have to be done by remote team.
If this can uploading document can easily be done with wget, that would be of interest too. Anyways, I am looking for 1 or a couple liner that's easy to understand.
Thanks in advance for anything.
UPDATES based on comments:
Perl Mechanize sounded like a good idea, but for some reason I am not able to authenticate, Error GETing http://sharepoint Unauthorized .... I had this:
my $m = WWW::Mechanize->new();
$m->credentials($user => $pass);
$m->get($url);
But mechanize won't authenticate against sharepoint for some reason.
Does anybody have a link or a sample on how to use sharepoint webdav from unix via perl? I installed and tried http://www.webdav.org/perldav tried to open my typical sharepoint site via "dave" webdav browser, but I get ** Unauthorized. ** error. Anybody having luck with the webdav approach with perl on unix?