Syntactic Confectionery Delight | |
PerlMonks |
grabbing webpage data w/o additional modulesby ImpalaSS (Monk) |
on Nov 22, 2000 at 20:53 UTC ( [id://42961]=perlquestion: print w/replies, xml ) | Need Help?? |
ImpalaSS has asked for the wisdom of the Perl Monks concerning the following question:
Hello, First off, i just want to let everyone know i cannot install modules, for too man reasons. Basically, my boss wants me to grab data from about 10 different websties, and compile it. The address is similar to: http://www-mat.nextel.com/cgi-bin/stats-cgi/hist.cgi?netid=2623-null-null&report_type=Daily+Totals&market=PHL, and when put into a browser, the output looks like: only a lot more. Basically, the perl script gets the necessary parameters, and imputs them into the url address. I am using part of a script from fastolfe's post. Re: Grabbing a web page without LWP or the like. Here is the code as it is in my script (only posting relevant code)
where $information[3] is a 4 or 5 digit number which tells the hist.cgi what data to display. There are 2 problems which I can see. 1: the $information[3] doesnt register, it just comes up blank. 2: I get the die message everytime, and when i take the exact address that the script produces, and paste it into a browser, it works fine. Again, i woul dlike to install LWP::Simple, and the other modules needed, but ive tried for hours, and 5 or 6 different people have helped me, yet still no luck. Thanks In Advance Dipul
Back to
Seekers of Perl Wisdom
|
|