Dear all,
Thank you very much you guys who giving me so detailed ans. (@v@) /"
That's very very much helpful ^_^ And sorry for posted to the cgi groups as
my careless. ~.~
Anyway, I am trying to follow up on some question and plus some more.
3. Is this different for this 2 scripts ? ( Modified
Hi Connie,
> On Sat, Mar 23, 2002 at 05:30:25AM +0800, Connie Chan wrote:
> > 1. When I open a text file with *lines, however, I just want to read the
> > first line, would this be a good idea ? open (FILE, "textfile.txt");
> > $firstline = ; close (FILE); would this process run till EOF, or
> >
I've removed [EMAIL PROTECTED] from the Cc: list. I don't see how any
of this directly relates to CGI. Please avoid cross-posting unless relevant
and absolutely necessary.
On Sat, Mar 23, 2002 at 05:30:25AM +0800, Connie Chan wrote:
> 1. When I open a text file with *lines, however, I just wan
Oops! The exclamation point in number 7 was a typo.
-Original Message-
From: Timothy Johnson
To: 'Connie Chan '; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: 3/22/02 1:59 PM
Subject: RE: Sort of Conceptual, Syntax, and modules related questions
1. It will only read the
1. It will only read the first line. The time you want to be careful with
<> is when you are assigning it to a list. For example, @myarray =
; will assign the entire contents of the file, while $myscalar =
; will assign only the first line.
2. In Windows, the endline character is interpreted