in reply to Distinct field name output attempt
Note: In the grep I only test if the value contains something different than spaces. That logic is flipped to your code, but more natural for grep. It should do the same.print "First:\n"; print "$_\n" for grep { /[^\s]/ } param("Data_One"); print "Second:\n"; print "$_\n" for grep { /[^\s]/ } param("Second_Part");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Distinct field name output attempt
by Anonymous Monk on May 17, 2005 at 15:57 UTC |