> Hi All,
> 
Howdy

> As a naive perl programmer, I want to get rid of a
> problem, for that, I am keen, awaiting your
> suggestions. I doubt, I could not present my case in
> front of you properly. Anyway, my problem spins around
> the following.
> 
> The module I am working with, need some networking.
> Let me go little bit more detail about it. The module
> I am working with works somewhat as follows:
> 
> I need to send some request from my machine (i.e.
> client) to the server and the server will return me
> back the response. My request will be a flat file and
> the server will process the file (some database
> search) and will return me back another flat file.
> Thus, in my module I want to send thousands of such
> files, one at a time and receive the processed file
> back one at a time. The entire process must work in synchronization.
> 
> 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

You could always have it send back the data how you like without adding html tags to 
it.
That may simplify.

> file.
> 
> 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?

If you're script is doing this ::

Scirpt1 --> Hey script2 give the data on all of our widgets model 123
Script2 --> text/plain

W123,CA,9
W123,IN,8
W123,NY,17

Script1 --> thanks now I'll parse that comma Seperated list and do what I want with it

OR you could use SOAP::Lite. 
That is quite nice at two way communications. I'd checxk out the cpan page for it.

> 
> With regards 
> Soumyadeep

> 
> 

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

Reply via email to