[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] perl interface to Internet weather servers



At 12:12 PM -0500 12/3/97, Stéphane Jose wrote:

} Hi,
}
} Is there a perl interface to  Internet weather servers available.
} I have looked in the CPAN directory without success.

There's an old script called "weather" that comes with xforecast, and
happens to be written in Perl.  Whether it's portable Perl, I don't know.
It's certainly Perl 4 and not 5, but it works under 5.004_04.  CPAN is the
wrong place to look; I'd try ftp.x.org myself, in one of the contrib
directories.  weather is intended to be used from the command line.

But you can always just use WeatherTracker, which should be available at
any Info-Mac archive.

}
} Would the LIBWWW librairy be of any help?

No.  You'd use IO::Socket.  You need to connect to a particular port on the
weather servers (3000, as I recall) and communicate with its command line
text interface.

}
} Thanks in advance,
}
} Stephane
}

---
Paul J. Schinder
NASA Goddard Space Flight Center
Code 693, Greenbelt, MD 20771
schinder@pjstoaster.pg.md.us



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch