Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

automation of perl program and another standlone program(run in dos) with html frontend

by thinkdifferent (Initiate)
on Feb 16, 2008 at 11:06 UTC ( [id://668301]=perlquestion: print w/replies, xml ) Need Help??

thinkdifferent has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on automation of perl program and another standlone program(run in dos) with html frontend

Replies are listed 'Best First'.
Re: automation of perl program and another standlone program(run in dos) with html frontend
by ww (Archbishop) on Feb 16, 2008 at 13:16 UTC

    Elaborating, perhaps needlessly, on Corion's observations and questions:

    • Is the server upon which the website is running the same machine as that where the executable runs?
    • Do you need to capture (and perhaps process further) the output of the executable?

    Did you read On asking for help and How do I post a question effectively?? If not, they may disabuse you of any belief that we would share your view that our solution(s) for your project is "urgent?"

    Ask a clearly defined question; show that you've made some effort and you will almost certainly receive good help. Treat the Monastery as a "free code machine" and help, other than this sort of help, is less likely to appear.

Re: automation of perl program and another standlone program(run in dos) with html frontend
by Corion (Patriarch) on Feb 16, 2008 at 12:55 UTC

    So, where do you have the problem? What have you tried so far? Is this homework? Then, most likely, the solution is covered in your course material already.

    You might want to read the fine Perl documentation, especially about the function system, about the backtick operator (qx) and possibly about the various IPC modules, many of which already come with Perl. Depending on your unstated needs, you might also find Win32::Process of interest. But without you telling us what you need, what you've tried, and where your problems are, all our help can only remain unspecific.

Re: automation of perl program and another standlone program(run in dos) with html frontend
by NetWallah (Canon) on Feb 16, 2008 at 13:04 UTC
    This is a non-trivial task, if you are new to perl and web technologies. The first piece of advice is to seek the assistance of someone who knows how to configure your web server to allow you to run perl CGI programs. Since you want to run an external executable, additional security issues may surface, depending on what your program wants to access.

    For your part, you can start learning cgi.

         "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom

      Since this is a Windows system, PerlScript would be an alternative to using a web server.
        The OP seems to want SERVER-SIDE perl, so, perlscript may well be an option. However, it still requires web-server configuration, although the Activestate install does most of it if allowed to.

             "As you get older three things happen. The first is your memory goes, and I can't remember the other two... " - Sir Norman Wisdom

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://668301]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-19 09:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found