Perl: the Markov chain saw | |
PerlMonks |
RE: A regexp/split questionby takshaka (Friar) |
on Jun 08, 2000 at 11:05 UTC ( [id://17027]=note: print w/replies, xml ) | Need Help?? |
split; and split ' ', $line;
are special cases that split on whitespace just like
/\s+/ but without leading null fields.
This behavior is described in the perlfunc entry on split.
In Section
Seekers of Perl Wisdom
|
|