It is ok now I have it working thank you

Ben
On Friday 25 February 2005 15:24, Charles K. Clarkson wrote:
> Benjamin Jeeves <[EMAIL PROTECTED]> wrote:
> : I have a perl program that I have developed that stores some
> : numbers in a mysql databases. But I need to make the script go
> : to a web site download a CSV file and the process the data in
> : that file. I have try lwp-download by using
> : system("lwp-download the URL"); but once it has download the
> : file it will end the script and will not process the new file
> :
> : can any body help me please.
>
>     Avoid creating perl solutions which depend on external
> commands. External commands should be a last resort unless you
> are deliberately scripting to create a batch file of some kind.
>
>
>     Use the LWP modules instead of a system command.
> LWP::Simple will probably get you what you need. Look for the
> "get" function in the docs. Also checkout the lwpcook and lwptut
> docs.
>
>
>
> HTH,
>
> Charles K. Clarkson
> --
> Mobile Homes Specialist
> 254 968-8328

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to