in reply to A perverse use of grep
But this is all aesthetics anyway,my @lines = grep { s/^\s+//; s/\s+$//; length > 0 && !/^#/ } <$in>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A perverse use of grep
by brian_d_foy (Abbot) on Jun 15, 2005 at 03:04 UTC | |
by Errto (Vicar) on Jun 15, 2005 at 03:13 UTC | |
by eyepopslikeamosquito (Archbishop) on Jun 15, 2005 at 03:26 UTC |