title: How do I call a C++ static library from Perl?
body: <p>I'm writing a C++ static library that needs to be shared among several applications, one of them written in Perl.  Unfortunately, I only barely know the core Perl language (I read the Llama book), and I'm not all that familiar with its libraries.  How do you make calls to an external C++ binary from a Perl script?</p>
  
  <p>By Google search, I found information on the Perl <a href="http://search.cpan.org/~ingy/Inline-0.44/Inline.pod" rel="noreferrer">Inline</a> module, but if I understand it correctly, that isn't what I need.  I'm pretty sure that's for writing C and C++ code directly in your Perl scripts, not for calling external C++ libraries.</p>
  
  <p>The C++ static library is being cross-compiled for an ARM processor, so there will be no C++ compiler on the target machine where the Perl script will be running. (If that makes a difference.)</p>