Re: Fetch the content of a website

2005-09-11 Thread Todd Lewis
If you know what you are looking for on a particular site. Some helpful tools can be found cpan. http://www.cpan.org/ I've found the HTML::TableExtract to be very valuable for retrieving info. A lot of info on a web page are stored in table format. Mads N. Vestergaard wrote: -BEGIN PGP

Re: Last word

2005-08-23 Thread Todd Lewis
Thanks, for all the replys. Didn't know that you could simply reference the last element of an array by using [-1]. This seemed like it could be a one line task maybe two, just don't have command of the language. Peter Scott wrote: On Tue, 23 Aug 2005 06:17:11 -0700, I wrote: $last_wor

Last word

2005-08-23 Thread Todd Lewis
I'm trying to retrieve the last word from an HTML table cell stored in an array value. All of the words are space delimited. I've tried using split /\s/, $$row[1] but this doesn't always return the last word for me since there could be 2,3, or 4 words. Could someone point me in the right direc

Re: :Oracle problems

2005-05-31 Thread Todd Lewis
Joining OTN (Oracle Technology Network) is free. It costs an e-mail address and some contact information. It might generate a salesrep call.Oracle Does contain a lot documentation. http://www.oracle.com/technology/index.html [EMAIL PROTECTED] wrote: oracle.com -Original Message- F

Re: Log()

2004-11-24 Thread Todd Lewis
If your writing something. I think you can output your die statement into a "log file" using print [logfile] "Whatever message you want\n" . You can also at certain points in your program output information on the status of your program. It helps in debugging your program. If it is a longrunnin

Re: Executing perl scripts with a perl script

2004-10-30 Thread Todd Lewis
I have no real working knowledge of perl. Teaching myself as I go. I know what I want to do and I think perl can do most of it, it's just finding the way. These scripts are really not module worthy. They are simple scripts, or run query, output file, read file, retrieve data based on file, outp

Executing perl scripts with a perl script

2004-10-30 Thread Todd Lewis
I have serveral perl scripts that I've written seperately. Now I want to run them sequentially. I don't want to cut and paste them into the same file to be run. Makes reusablity a pain. Is there a method to do this? I've tried searching but it appears I'm not using the correct search words. I'

Re: HTML::TableExtract

2004-10-18 Thread Todd Lewis
IM,$$row[0],FIELD_DELIM; > print outfile $$row[1],FIELD_DELIM,$$row[2],FIELD_DELIM; > print outfile $$row[5],FIELD_DELIM,$$row[6],FIELD_DELIM; > print outfile $$row[7],FIELD_DELIM,$$row[8],FIELD_DELIM; > print outfile "\n"; >

Re: HTML::TableExtract

2004-10-18 Thread Todd Lewis
row[1],FIELD_DELIM,$$row[2],FIELD_DELIM; print outfile $$row[5],FIELD_DELIM,$$row[6],FIELD_DELIM; print outfile $$row[7],FIELD_DELIM,$$row[8],FIELD_DELIM; print outfile "\n"; } if ($$row[0] eq "No sorties

HTML::TableExtract

2004-10-17 Thread Todd Lewis
I'm using HTML::TableExtract to pull data from a web page. the Table depth is always 6,1. It just sometimes is not there when the page is brought up. How can I tell that the table is missing using this procedure. I'm trying to error trap this situation. It causes my code to hang d