RE: Help with Variable Scope, Regular Expressions

2004-04-15 Thread Charles K. Clarkson
William Martell <[EMAIL PROTECTED]> wrote: : : Hi Charles. Thank you very much for the code and the lesson. : Works perfectly! It wasn't meant to be a finished product. Just an example to learn from. You need to, at least, add some error checking, but I am glad it works. :) : I am trying t

RE: Help with Variable Scope, Regular Expressions

2004-04-15 Thread William Martell
Hi Charles. Thank you very much for the code and the lesson. Works perfectly! I am trying to add the address portion to this but I am still having some trouble. I wanted to see if I could ask you questions regarding your code for even more insight. Thanks in advance for your time and consider

RE: Help with Variable Scope, Regular Expressions

2004-04-08 Thread Charles K. Clarkson
William Martell <[EMAIL PROTECTED]> wrote: NOTE: This response is long. If you want to ask a question be responsible and delete anything that is not relevant to your question. Do NOT top post and repeat the entire messa

Re: Help with Variable Scope, Regular Expressions

2004-04-08 Thread William Martell
099","location: Casa View ","paper: The Dallas Morning News","date: 04/04/2004", [/RESULT] My desired result is this, (I want to be able to import this data into excel) [DESIRED] price: beds: bath: phone: address: location: paper: date: data, data, data, data, d

RE: Help with Variable Scope, Regular Expressions

2004-04-08 Thread Charles K. Clarkson
William Martell <[EMAIL PROTECTED]> wrote: : : I am trying to get this code to write the variables in : a specific order, even if they are undefined or blank. : I would like each row seperated by newline. What is a row? What specific order? : I am running into a problem with the scope of the

RE: Help with Variable Scope, Regular Expressions

2004-04-08 Thread Jayakumar Rajagopal
n - indicates you are sorting on the field [ that comes after ] 'n' th "," -- sorry for typo. -Original Message- From: Jayakumar Rajagopal Sent: Thursday, April 08, 2004 2:31 PM To: William Martell; [EMAIL PROTECTED] Subject: RE: Help

RE: Help with Variable Scope, Regular Expressions

2004-04-08 Thread Jayakumar Rajagopal
Willam, You use in your code : my @alllines; while ( ) { my $line; all your while loop code.. push @allines, $line; } @alllines = sort @alllines; Within while loop, replace every ' print "..";' with '$line .= sprintf ".. "