The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WSH and PerlScript
#1
I thought it would be nice to use Perl in QM. I have no experience with COM or WSH, but I managed to hack together these functions for the ActiveState PerlScript engine using Gintaras' VBScript functions as a template.

They seem to work fine so far, though I haven't thrown anything too complex at them yet. The one problem I am having though, is that if there is an error in the perl code, it isn't returned. It looks as if it is always returning positive, so it never gets to err, and I'm not sure why. Fortunately though, when your syntax is correct, everything runs fine.

If anyone can shed some light on this, I'd appreciate it. When its finished, I figured I would post it in the Resources area, in case anyone else would like it. Or maybe Gintaras would want to include it in the next QM release.

Here is what I have so far: QMPerlScript.zip


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)