Soumyadeep nandi wrote:
Hi All,

So, I have two plans to work out the situation, these
are as follows:

1. With LWP perl module.

        First I will make a perl script that will put   the
request to the server.

        A CGI script in the server receive the request and
will run some system commands and prints the output
file as a response.

        Again the perl file on client site will receive the
response as a html page and parse the html to text
file.


Sounds reasonable assuming the overhead of a web connection is acceptable and the other requirements meet the design goals.


2. The other one is IO::Socket::INET perl module.

        A perl script in both ends (i.e. client and server)
will receive and response the requests.

Now, what is bothering me in this regard, is as
follows..

Which way will be the better way for my work? So that
I can reduce the over heads and time (probably the
second one). If I need to work with the second option
what should be my steps?


The overhead could be less, but items of security, stability, etc. creep in, but these are project specific requirements.


Since I have it on the brain these days and have found it very pleasant to work with you might want to check out the POE modules/system, etc. though it may be overkill for your project, hard to say with limited information. Documentation can be found at:

http://poe.perl.org

If nothing else it might give you some more information about client/server programming in Perl, and design problems you may run into.

http://danconia.org


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to