PDA

View Full Version : consol-less perl client


Whiteknight
04-07-2005, 01:16 PM
as long as i've been programming perl, and with all the resources i have on the subject at my disposal, i can't seem to find the answer to this question:

is it possible to run a perl script without opening a console window?

metaph0r
04-07-2005, 02:00 PM
as long as i've been programming perl, and with all the resources i have on the subject at my disposal, i can't seem to find the answer to this question:

is it possible to run a perl script without opening a console window?


Based on my limited knowledge, awstats.pl is a perl script, and I run it through my browser window by calling it as a url. (http://www.domain.com/awstats.pl)
It has some variables that go into it (www.domain.com) as so: (http://www.domain.com/awstats.pl?config=www.domain.com). But it is possible to run it from your browser.

Silmaril8n
04-07-2005, 02:36 PM
You're right Metaph0r. It's the same as a PHP or ASP script as well. They can be run from the console or a browser window just the same, just as long as the script was designed for that type of use.

sirclif
04-07-2005, 05:23 PM
if the script is executable you could run it by double clicking on its icon.

Whiteknight
04-08-2005, 10:21 AM
but i'm not looking to run anything in a browser. Also, if you just double-click on a script, it will pop up a console window, even if the program doesnt use it. I'm looking to make something that is a windowless utility, that will run without opening windows and cluttering things up.

Silmaril8n
04-08-2005, 12:08 PM
And it still has to be activated by a user? Ie: not a cron job?

Whiteknight
04-21-2005, 03:28 PM
okay, since i can't find one, i'm starting to write one. The program is a win32 app, and I'm looking for ideas. some of the things I am thinking of adding to the program:

1) instead of console prompts, useing GUI interfaces.
2) allow schedualling of scripts
3) process management (remote termination, etc)
4) redirectable I/O
5) user-defined environments, and templates
6) a perl "command shell" that runs native on perl instructions (one-liners!!)

I'm looking for any ideas of what else i could add.