in reply to Re^2: Split a string based on change of character
in thread Split a string based on change of character
I never thought of
before. I usually usegrep $i=!$i,
grep $i^=$i,
Yours is easier to understand, though.
Update: Yeah, I mean grep $i^=1,.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Split a string based on change of character
by Skeeve (Parson) on Jul 28, 2007 at 15:28 UTC | |
by eyepopslikeamosquito (Archbishop) on Jul 29, 2007 at 02:43 UTC |
In Section
Seekers of Perl Wisdom