[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

RE: [sqr-users] SQR Report + Java | Help



I have most recently done this using AOLServer + TCL, but years ago have
done this with Perl.

If you look in the back of the SQR manual you will find instructions
for linking SQR into other programs. Have a look at the Perl
documentation for Ext::MakeMaker; it takes about a 50-line .xs file,
most of which Perl generates for you. From this you would generate a
Perl module that will allow you to run SQR from within Perl.

You would then invoke a mod_perl (or CGI) script that would

a. bash your command line into shape.
b. run the sqr
c. on successful termination set the MIME type, read the output, and
blast it back out to the remote invoker; the latter could be your web
server, which could buffer up the output and spit it out again.



>>> "Ganesh, Muralidhar (IE10)" <Ganesh.Muralidhar@honeywell.com>
8/30/2006 7:28 AM >>>
Hi all,

I am not clear about this answer. Kindly give me some more details to
under stand this. 

Regards,
Ganesh A.M

-----Original Message-----
From: sqr-users-bounces+ganesh.muralidhar=honeywell.com@sqrug.org 
[mailto:sqr-users-bounces+ganesh.muralidhar=honeywell.com@sqrug.org]
On
Behalf Of George Jansen
Sent: Wednesday, August 30, 2006 3:18 AM
To: sqr-users@sqrug.org 
Subject: Re: [sqr-users] SQR Report + Java | Help

1. Choose the scripting language of your choice, Perl, Tcl, I suppose
Python.

2. Gin up a module that uses the SQR .so to run SQR.

3. Tuck it under the appropriate Apache library directory.

4. Now you can run SQR right out of Apache & blast the output
whereever
& however you want to.


_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org 
http://www.sqrug.org/mailman/listinfo/sqr-users 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org 
http://www.sqrug.org/mailman/listinfo/sqr-users

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users