in reply to Re: split and capture some of the separators
in thread split and capture some of the separators
grep $_,
will erase some tokens such as 0. Better to use
grep length($_),
or
grep { defined($_) && length($_) }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: split and capture some of the separators
by BrowserUk (Patriarch) on Oct 07, 2004 at 22:29 UTC | |
by shemp (Deacon) on Oct 07, 2004 at 22:33 UTC | |
by BrowserUk (Patriarch) on Oct 08, 2004 at 01:16 UTC |