[OZAPRS] APRS / findu.com / PERL help needed

Hamish Moffatt hamish at cloud.net.au
Sat Nov 13 11:34:56 EST 2004


On Sat, Nov 13, 2004 at 10:27:18AM +1000, Andrew Rich wrote:
> I am trying to get a history of raw data from findu.com.
> 
> Here is my perl code
> 
> #!/usr/bin/perl
> system ("wget
>
'http://www.findu.com/cgi-bin/raw.cgi?call=vk4tec-9&start=0&length=24&time
=h
> our' > /var/www/html/vk4tec_stuff/aprs_history.txt");
> 
> it produces some funnies.

wget doesn't print its output, it downloads a file.

You have a few options.

1. wget -o <filename> <url>
   to get the output in a fixed filename; no need to redirect wget

2. 'lynx -dump > <filename>' will do it;

3. Use libwww-perl to do the HTTP entirely within your perl program
   Google for libwww-perl, LWP, etc.

Hamish
-- 
Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>
_______________________________________________
ozaprs mailing list
ozaprs at marconi.ics.mq.edu.au
http://marconi.ics.mq.edu.au/cgi-bin/mailman/listinfo/ozaprs



More information about the Ozaprs mailing list