Re: Reading and comparing files from a directory

2003-07-09 Thread Wiggins d'Anconia
Greenhalgh David wrote: If I am reading this correctly (which I am probably not!) you need another foreach loop in there somewhere. When you compare $file with $lines, you are trying to compare the contents of @temp. I think you need to wrap your comparison with a foreach loop: foreach $file (

Re: split function problem.

2003-07-09 Thread Wiggins d'Anconia
Sara wrote: I am extremely thankful to you for your help. I always loved your way of teaching and explaining the code bit by bit. One more question I searched the google for "HTH" abbreviation but didn't find anything. Can you tell me what does it mean? http://info.astrian.net/jargon/terms/h.htm

Re: POST

2003-07-09 Thread Wiggins d'Anconia
Octavian Rasnita wrote: Hi, Please tell me, can I use somehow the POST method of HTTP to modify some information on the server? For example I want to write to a file. How do you mean? The POST method is just one way to communicate from a client to a server. So modifying the information has more

RE: split function problem.

2003-07-09 Thread Charles K. Clarkson
Sara <[EMAIL PROTECTED]> wrote: : : One more question I searched the google for : "HTH" abbreviation but didn't find anything. : : Can you tell me what does it mean? Hope That Helps And sometimes: Hotter Than Hell :) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: Reading and comparing files from a directory

2003-07-09 Thread Greenhalgh David
If I am reading this correctly (which I am probably not!) you need another foreach loop in there somewhere. When you compare $file with $lines, you are trying to compare the contents of @temp. I think you need to wrap your comparison with a foreach loop: foreach $file (sort readdir (DH)) {

Re: split function problem.

2003-07-09 Thread Sara
I am extremely thankful to you for your help. I always loved your way of teaching and explaining the code bit by bit. One more question I searched the google for "HTH" abbreviation but didn't find anything. Can you tell me what does it mean? Thanks, Sara, :)) - Original Message - Fro

Reading and comparing files from a directory

2003-07-09 Thread Sara
I m trying to read the files in a directory and match them with a same file names in text list. Below given are the couple of lines, but I am unable to get the results, rather getting the same line repeated This fileno1 does NOT found in directory but its in the list This fileno2 does NOT found

Re: split function problem.

2003-07-09 Thread Sara
First of all thanks for your prompt reply. its not just the comma separated list, it contains sometimes comma in the middle of name and sometime at the end of name. I am looking for some Regex in the split function to separate both fields. thanks, Sara. - Original Message - From: frb

POST

2003-07-09 Thread Octavian Rasnita
Hi, Please tell me, can I use somehow the POST method of HTTP to modify some information on the server? For example I want to write to a file. Thank you. Teddy, Teddy's Center: http://teddy.fcc.ro/ Email: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

RE: split function problem.

2003-07-09 Thread Charles K. Clarkson
Sara <[EMAIL PROTECTED]> wrote: : : An input string like; : : $name_with_id = "Deiley, Sara Jr., 1234"; : : another example could be : : $name_with_id = "DEILEY SARA, Jr,. 123"; : : Two things are for sure in it always. : : 1- First part contains the alphabets (caps or small) with any : numb

RE: split function problem.

2003-07-09 Thread Lile, James AZ2 (VAW-115)
I would prbally add a seperator less common than a comma such as || to use the split funciton on... james hi, $name_with_id looks like a comma separated list you can simply *not tested*: ($name,$id) = split (/,/, $name_with_id) -- franck Sara wrote: > An input string like; > > $n