title: How to setup MQSeries in Perl
body: <p>I am assigned with placing request messages to Websphere MQ queue and listening to response queue for response message using perl script.</p>
  
  <p>I have experience in MQ but not in Perl scripting ..</p>
  
  <p>I googled on perl modules found some thing called "CPAN mqseries module" can be used to integrate WBI MQ.</p>
  
  <p>However I don't have any idea how to setup that in my unix environment.
  I gave following links to my unix team </p>
  
  <ul>
  <li><a href="http://search.cpan.org/~mqseries/MQSeries-1.34/" rel="nofollow">MQ-Series-1.34</a></li>
  <li><a href="http://search.cpan.org/~miyagawa/App-cpanminus-1.7040/lib/App/cpanminus.pm" rel="nofollow">App-cpanminus-1.7040</a></li>
  </ul>
  
  <p>Even my unix team here don't have any idea about setup and they were asking "whether software is having RPM package or AIX binaries" .. but I don't see them any where.
  They don't have any idea on how to setup using CPAN.</p>
  
  <p>I tried copy all the .pm files from <code>mqseries.1.34</code> which I downloaded from above links under <code>/usr/opt/perl/5.8.8/lib/</code> how getting following error while trying to call some sample perl which just loads the modules.</p>
  
  <p>Here I attached my sample script.</p>
  
  <pre><code>package myMQModule;
  
  use strict;
  use warnings;
  
  use MQSeries;
  use MQSeries::QueueManager;
  use MQSeries::Queue;
  use MQSeries::Message;
  
  
  1; # end with a true value
  </code></pre>
  
  <p>getting following error while running above script`</p>
  
  <pre><code>"functions" is not defined in %MQSeries::EXPORT_TAGS at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/MQSeries/QueueManager.pm line 20
  Can't continue after import errors at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/MQSeries/QueueManager.pm line 20
  BEGIN failed–compilation aborted at /usr/opt/perl5/lib/5.8.8/aix-thread-multi/MQSeries/QueueManager.pm line 20
  </code></pre>
  
  <p><strong>So I need help in how to setup <code>mqseries</code> module in my unix environment and is there any guide to do the same.
  You help highly appreciated ..
  Please help !!!!</strong></p>