hey all,

How do you read lines from a file into an array using Perl ( I still have
this Perl problem)
in Basic it would be:

open "file.txt" for input as #1
while (eof(1))
 count=count+1
 input #1, line$(count)
loop
close #1

what's the Perl version of this? I can't seem to get it to read one line
each into an array.. it always grabs the whole file...

thanks,
George Vieira
Network Administrator
Citadel Computer Systems P/L
http://www.citadelcomputer.com.au


--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to