Tielman Koekemoer (TNE) [TK], on Tuesday, May 10, 2005 at 11:01 (+0200) contributed this to our collective wisdom:
TK> I have tried various regular expressions to remove null or empty TK> values on array @array1 and create a new array @OPD01 with the values. TK> This, however, does not work as I still get a number of empty values TK> in the @OPD01 array after this processing. As you'll see I tried TK> various things - check for null(\0), empty lines, lines that do not TK> contain words etc. what about grep? perldoc -f grep my @OPD01 = grep /\S/, @array; -- How do you protect mail on web? I use http://www.2pu.net [Bullshit Detector. When alarm sounds, please re-engage your brain.] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>