Perl scripts for collecting data from networked sensors