Eric Preece <[EMAIL PROTECTED]> wrote:
> Yet another newbie question. I have a file, each line
> is a pipe delimited list (user name and password). I
> want to open the file, search through each line using
> the first entry as a key (so this may turn into a
> question about hashes, but I am no
[]
> -My Response-
>
> If you only want to go through the file once, it may not make sense to go to
> the trouble of creating a hash. Bottom line is that you probably want
> something like this:
>
> # loop through the file line by line
> while () {
> # strip the trailing newline fro
Eric Preece wrote:
>
> Hello,
Hello,
> Yet another newbie question. I have a file, each line is a
> pipe delimited list (user name and password). I want to open
> the file, search through each line using the first entry as
> a key (so this may turn into a question about hashes, but I
> am not s
Hello,
Yet another newbie question. I have a file, each line is a pipe delimited list (user
name and password). I want to open the file, search through each line using the first
entry as a key (so this may turn into a question about hashes, but I am not sure). If
I get a positive result I want
-Original Message-
From: Eric Preece [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 26, 2002 4:09 PM
To: [EMAIL PROTECTED]
Subject: A basic question about arrays
Hello,
Yet another newbie question. I have a file, each line is a pipe delimited
list (user name and password). I want to