grep $_,
will erase some tokens such as 0. Better to use
grep length($_),
or
grep { defined($_) && length($_) }
In reply to Re^2: split and capture some of the separators
by ikegami
in thread split and capture some of the separators
by shemp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |