Re: Reading Plain Text File - help

2003-02-07 Thread R. Joseph Newton
Ramón Chávez wrote: > Thank you very much guys. > > Rob, sorry but it didn't work > > open (DATOS, "$bd") || die "Error: no se puede abrir el > archivo"; > > while ($registro=) {} Hi Ramon, The empty brackets in the line above were meant to represent the whole body of the

RE: Reading Plain Text File - help

2003-02-07 Thread Kipp, James
> > I'm trying to read the last line on a Plain text File. > > The following was so well written by John I think it's worth > repeating. Thanks John! Absolutely. This should be made into a FAQ !! (or is there one already?) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: Reading Plain Text File - help

2003-02-07 Thread Rob Dixon
Rgíón «hávkú wrote: > I'm trying to read the last line on a Plain text File. The following was so well written by John I think it's worth repeating. Thanks John! John W. Krahn wrote: > > 1) Install http://search.cpan.org/author/URI/File-ReadBackwards-0.98/ > > use File::ReadBackwards; > my $bw =

RE: Reading Plain Text File - help

2003-02-07 Thread Ramón Chávez
--- WGO <[EMAIL PROTECTED]> To: 'Ramón Chávez' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 10:58 AM Subject: RE: Reading Plain Text File - help Ramón Chávez wrote: > I'm trying to read the last line on a Plain text File. > > But

RE: Reading Plain Text File - help

2003-02-07 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Ramón Chávez wrote: > I'm trying to read the last line on a Plain text File. > > But when I use: > > open (DATOS, "$bd") || die "Error: no se puede abrir el archivo"; > while > ATOS>){ > $registro = ; > } > > I don't get any value on $registro > > I need to insert $ini

RE: Reading Plain Text File - help

2003-02-07 Thread Hanson, Rob
e is probably a more efficient way)... while ($registro = ) {} Rob -Original Message- From: Ramón Chávez [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 11:52 AM To: [EMAIL PROTECTED] Subject: RE: Reading Plain Text File - help Sorry. Last message had an error.

RE: Reading Plain Text File - help

2003-02-07 Thread Ramón Chávez
Sorry. Last message had an error. -- I'm trying to read the last line on a Plain text File. But when I use: open (DATOS, "$bd") || die "Error: no se puede abrir el archivo"; while ATOS>){ $registro = ; } I don't get any value on $registro I ne

Reading Plain Text File - help

2003-02-07 Thread Ramón Chávez
I'm trying to read the last line on a Plain text File. But when I use: open (DATOS, "$bd") || die "Error: no se puede abrir el archivo"; while ATOS>){ $registro = ; } I don't get any value on $registro I need to insert $inicio = ; -- This way to get the the las