title: Create document in Lotus Domino database via perl script
body: <p>I've seen blocks of code like this</p>
  
  <pre><code>use Win32::OLE; 
  my $Notes = Win32::OLE-&gt;new('Notes.NotesSession') 
      or die "Cannot start Lotus Notes Session object.\n"; 
  my $database = $Notes-&gt;GetDatabase("",'mail\VIMM.nsf'); 
  </code></pre>
  
  <p>but my script is running on a virtual webfusion apache service so how do you establish a connection to database on my domino server, I have control of its acl and its a website so can pass in a username &amp; password. The script &amp; 'POST' data is sent by a third party gateway with results of the transaction (Success/ Fail + name value pairs etc) which I need to capture. I can't do it directly on the domino server because although Domino supports PERL scripts, they will only work if PERL is also installed on the server which isn't an option.</p>