![]() |
|
laziness, impatience, and hubris | |
PerlMonks |
converting a command-line program to one with a "pretty" interfaceby punkish (Priest) |
on Dec 06, 2004 at 03:24 UTC ( #412575=perlquestion: print w/replies, xml ) | Need Help?? |
punkish has asked for the wisdom of the Perl Monks concerning the following question:
A few months back I wrote a command-line program running on a Win box with ActiveState's perl that does the following --
I am now ready to write the next version of my program, and, thus, I seek the following advice (I will be re-writing my code as a more OO code -- I've recently been learning OO techniques, and I believe this program could benefit from such an approach) -- Should I use the new Email::Simple modules instead of the above-mentioned Mail modules (I found the Mail modules to be a bit complicated, and somewhat unreliable in conjunction with Exchange Server)? And, more imporantly, how could I go about converting my program to give a more sophisticated "appearance"? In particular, I would like to convert the program so that it runs as a Windows service (I tried doing that, and while I was able to create a service, the darn thing never ran) or a *nix daemon; and I would like to provide an interface to start, stop, and minimally configure the program (like, provide the sleep time, email account and email server names and passwords, view log files, etc.). A web-interface would be great because it could be controlled from anywhere, and would be platform-independent. All advice will be much appreciated. Update: its the "interface" part that I am most eager to implement in this new version -- some easy, clickety-click way to allow the "admin" of this program to set config params, start and stop, and load and read the log files.
Back to
Seekers of Perl Wisdom
|
|