Re: Simple question about "whiles" and files...

2001-07-11 Thread Jos I. Boumans
I think you mean d'oh ;-) http://www.snpp.com/guides/lisa-2.html#Q16 which is in the OED btw: http://europe.cnn.com/2001/WORLD/europe/06/14/english.newwords/index.html ;-) > d-oh > > --- Guilherme Pinto <[EMAIL PROTECTED]> wrote: > > > while ( and $_ =! /End of list/) > > > > I think you mea

Re: Simple question about "whiles" and files...

2001-07-11 Thread Michael Fowler
On Wed, Jul 11, 2001 at 04:26:37PM -0300, Sebadamus wrote: > Does anybody knows why I cant make this to work as I want? :-) > > while ( and $_!=~/End of list/) while (defined($_ = <>) && !/End of list/) { There are various problems with your original: - while () is the only syntax that

RE: Simple question about "whiles" and files...

2001-07-11 Thread Mooney Christophe-CMOONEY1
a bla bla } -Original Message- From: Guilherme Pinto [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 11, 2001 2:12 PM To: 'Sebadamus'; [EMAIL PROTECTED] Subject: RE: Simple question about "whiles" and files... while ( and $_ =! /End of list/) Try

Re: Simple question about "whiles" and files...

2001-07-11 Thread Brett W. McCoy
On Wed, 11 Jul 2001, Sebadamus wrote: > Does anybody knows why I cant make this to work as I want? :-) > > while ( and $_!=~/End of list/) > { > bla > bla > bla > } > > So, with this I want to process the file in until EOF, and each line > must be distinct than "/End of list/". So,

RE: Simple question about "whiles" and files...

2001-07-11 Thread Guilherme Pinto
d-oh > -Original Message- > From: Paul [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 12:18 PM > To: Guilherme Pinto; 'Sebadamus'; [EMAIL PROTECTED] > Subject: RE: Simple question about "whiles" and files... > > > > --- Guilh

RE: Simple question about "whiles" and files...

2001-07-11 Thread Paul
--- Guilherme Pinto <[EMAIL PROTECTED]> wrote: > while ( and $_ =! /End of list/) I think you mean !~ __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

RE: Simple question about "whiles" and files...

2001-07-11 Thread Guilherme Pinto
while ( and $_ =! /End of list/) Try that... > -Original Message- > From: Sebadamus [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 11, 2001 12:27 PM > To: [EMAIL PROTECTED] > Subject: Simple question about "whiles" and files... > > > Does any

Simple question about "whiles" and files...

2001-07-11 Thread Sebadamus
Does anybody knows why I cant make this to work as I want? :-) while ( and $_!=~/End of list/) { bla bla bla } So, with this I want to process the file in until EOF, and each line must be distinct than "/End of list/". So, if it is EOF or the current line is that string... the WHI