How about: next unless /\S/;
Ron >From: Eric Wang <[EMAIL PROTECTED]> >To: Pedro A Reche Gallardo <[EMAIL PROTECTED]> >CC: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >Subject: Re: DELETE BLANK LINE >Date: Thu, 4 Oct 2001 11:05:59 -0700 (PDT) > >Yeah, I think you can use chomp(); >so use foreach $i (@foo){ > chomp($i); > do you things here > } >I am not sure if you can delete the line if it's all blank. But, worth a >try. >;) > >Eric > > >********************************************************* >*Eric T. Wang * >*Bioinformatic Support and SRA * >*University of California, Irvine College of Medicine * >*Department of Biological Chemistry * >*RK Moyzis Lab * >*[EMAIL PROTECTED] * >*949-824-1870 * >********************************************************* > >On Wed, 3 Oct 2001, Pedro A Reche Gallardo wrote: > > > Hi all, I am sure someone has already asked this but I do not remeber > > the answer. How can I delete or go to the next line if a blank line is > > found. By a blank line I mean any line containing only white spaces, > > return, tab characters etc. > > Regards, > > > > Pedro > > > > -- > > >*************************************************************************** > > PEDRO a. RECHE gallardo, pHD TL: 617 632 3824 > > Scientist, Mol.Immnunol.Foundation, FX: 617 632 3351 > > Dana-Farber Cancer Institute, EM: >[EMAIL PROTECTED] > > Harvard Medical School, EM: [EMAIL PROTECTED] > > 44 Binney Street, D610C, URL: http://www.reche.org > > Boston, MA 02115 > > >*************************************************************************** > > > > > > > > >-- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]