Problems referencing variable value in another loop

2007-06-17 Thread shadkeene
Hi, I was able to parse different data in the same loop...however, now I'd like to extract data from two files, using two while loops after opening each .txt file...then do arithmetic with the data I extracted...all in the same script. The problem is that when I reference a variable in the second w

Unable to reference variable from one loop to another in same script

2007-06-17 Thread shadkeene
Hi, I'm able to parse different data in the same loop...however, now I'd like to extract data from two files, using two while loops after opening each .txt file...then do arithmetic with the data I extracted. The problem is that when I reference a variable in the second while loop that I initialize

problems passing values to subroutine using LWP::Useragent

2007-08-23 Thread shadkeene
Hi, I'm back for some advice from you helpful folks. I'm pulling weather data from the web and manipulating it...using airport codes for various weather data, and I use the same subroutine multiple times for various airports. I've had some success passing various airport codes to the other subrouti

undef in data dumper output

2007-09-25 Thread shadkeene
I'm using html::tokeparser::simple and will next place desired data into hashes, but I'm having problems getting to the individual pieces of data. After using html::tokeparser::simple, then using a regex and pushing data into a new array, I can't access individual elements of the array. Using data

subtracting parsed GMT(zulu) time from perl GMT time

2007-11-12 Thread shadkeene
Hi, I'm extracting some advisories(number of advisory, type of advisory, and time of advisory) from the internet and am going to store them in a database. But the site stores more than just current advisories on the page, so I need to go through them and ensure they are current. The advisory is va