|Pathologically Eclectic Rubbish Lister|
Batch to Perl translation (just 1 line, not the whole script)by theneil (Novice)
|on Aug 07, 2012 at 18:16 UTC||Need Help??|
theneil has asked for the
wisdom of the Perl Monks concerning the following question:
I've searched everywhere and can't find an answer so I guess I need to ask it!
I'm calling a perl script from BMC Impact Explorer that's filtering each ticket to the right support group using a Bayesian (SPAM Filtering) approach. I use the get_external function which sends the ticket message to the perl script and expects the group as the result.
But I am having trouble returning the group in the proper format. I HAVE however created a dummy .bat file that returns the output in the correct format (using the format I found on the BMC Communities forum)
I am wondering if anyone can essentially translate my .bat file output to Perl output?
I literally need to output those strings in the same way that it's done in the .bat file. Any ideas? Thanks!