in reply to Re^2: Browse Websphere MQ Queues not possible in Perl? It is possible in VB-script...
in thread Browse Websphere MQ Queues not possible in Perl? It is possible in VB-script...

So, did you try the second guess I made?

$gmo->{Options} = $gmo_option;

This is what the VB code translates to, and I can't see in your long, long post where you tried that.

  • Comment on Re^3: Browse Websphere MQ Queues not possible in Perl? It is possible in VB-script...
  • Download Code

Replies are listed 'Best First'.
Re^4: Browse Websphere MQ Queues not possible in Perl? It is possible in VB-script...
by perl_script_guy (Initiate) on May 14, 2010 at 11:22 UTC
    Sorry for the long listing. I was a Cobol-programmer :)
    Anyway, this really works.
    The script finishes without errors, and the messages are not deleted.
    Thanks for the quick reply.
    Can you tell me why this is working?

      Because it is the literal translation of your VB code to Perl.

      Also see Win32::OLE for the various access methods it implements to make OLE objects appear as native Perl objects.