RE: how to delete space at end of line

2002-12-01 Thread Brian Engleton
Joe, >From one Perl newbie to another, buy "Mastering Regular Expressions" by Friedl. It's an O'reilly book. It is vey well written, and readable, I've actually enjoyed reading it (believe it or not)! It really helps take the mystery out of regexes. Try it out brian i guess i have to learn

Re: how to delete space at end of line

2002-12-01 Thread John W. Krahn
Joseph Paish wrote: > > thanks to all that replied. > > i guess i have to learn my way around regular expressions now. i've managed > to go this long without studying them because i find them to be cryptic (to > say the least). at least this one is fairly simple, and by deconstructing it > piec

RE: how to delete space at end of line

2002-12-01 Thread Beau E. Cox
Re: how to delete space at end of line On Friday 29 November 2002 14:28, you wrote: > Joseph Paish wrote: > > i have a data file that i am reading into an array. some of the data > > file entries have a space at the end of the line and some do not. is > > there some way tha

Re: how to delete space at end of line

2002-12-01 Thread Joseph Paish
On Friday 29 November 2002 14:28, you wrote: > Joseph Paish wrote: > > i have a data file that i am reading into an array. some of the data > > file entries have a space at the end of the line and some do not. is > > there some way that i can delete the space if it exists as i read each > > line

Re: how to delete space at end of line

2002-11-29 Thread John W. Krahn
Joseph Paish wrote: > > i have a data file that i am reading into an array. some of the data file > entries have a space at the end of the line and some do not. is there some > way that i can delete the space if it exists as i read each line (something > like chomp deletes newlines if they exist

Re: how to delete space at end of line

2002-11-29 Thread badchoice
@==map$`x/ ?$/,<> maintainable? sure ;-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how to delete space at end of line

2002-11-29 Thread Duarte Cordeiro
o: perl_beginner > Subject: how to delete space at end of line > > > i have a data file that i am reading into an array. some of > the data file > entries have a space at the end of the line and some do not. > is there some > way that i can delete the space if it exists a

how to delete space at end of line

2002-11-29 Thread Joseph Paish
i have a data file that i am reading into an array. some of the data file entries have a space at the end of the line and some do not. is there some way that i can delete the space if it exists as i read each line (something like chomp deletes newlines if they exist)? preferably something leg