Re: Count Words (from tue . . . little behind)

2002-01-25 Thread Dave Rankin
Hi Everybody, I'm working through the "Mastering Regular Expressions" book right now, so after reading the question earlier this week about finding the number of unique words in some input and the really great responses everybody sent, I wondered if I couldn't think of another way to do this (

Re: retrieving array/data from a pdf file and putting everything in a excel file

2001-11-21 Thread Dave Rankin
Hi, You might want to check out the PDF modules at cpan, particularly PDF::Core and PDF::Parse. Also, here's an article that should help with the excel part: http://www-106.ibm.com/developerworks/library/l-pexcel/ These should be a starting point anyway. HTH. -Dave On Wednesday 21 November

Re: directories

2001-11-21 Thread Dave Rankin
You can use the -d operator to test for a directory. print "Found directory!\n" if (-d "/path/to/directory"); (Just make sure you use the c:\\path\\to\\directory format on Windows.) HTH. -Dave On Wednesday 21 November 2001 10:41 am, [EMAIL PROTECTED] wrote: > what is the best way to check f

Re: Pattern matching

2001-11-21 Thread Dave Rankin
Hello, When reading from like that, you're going to want to use chomp to remove the \n line character at the end of what the user inputs. Right now, you're actually doing a match for "$build\n". So, you could change "$build=;" to "chomp($build=);" or even "chomp($build=<>);". HTH. -Dave

Re: Off-Topic (200%) - Where are you from?

2001-11-12 Thread Dave Rankin
Providence, in the tiny state of Rhode Island -Dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]