D
David Combs
SNIP
(1) Where is this Ilya-mostly-fixed documentation? (ie, which
version of perl?)
(2) Did you document, for yourself for maybe later use,
warning-examples of where it hit those boundary-conditions?
Even if you didn't have the time or energy to pursue
maybe fruitless task of (a) finding (not so simple) and
(b) fixing these remaining problem-areas,
it'd probably be useful to see what you did find --
just to know what *not* to approach in split-use.
(3) If this split is *that* weird and unpredictable,
how much work would it be for someone (good like you)
to implement a splitSmall with perhaps fewer features,
but at least do those things robustly, "as advertised"?
(I mean, Perl-5 will probably continue being used
in a major way (for even new projects) long past
when perl-6 starts getting used for serious work,
so it might be well worth it for someone *to*
do something like a splitSmall.)
(4) I haven't looked at perl-6 yet -- but what does *it*
provide for its own split-like capabilities?
Thanks!
David
No. As I said, at some moment I updated the docs so that they
reflected my "current" understanding of the behaviour of split().
Unfortunately, even afer reading/cleaninig the source code, I could
not recognize all the quirks (boundary conditions!); so the
documentation is not fully "relevant".
Hope this helps,
Ilya
(1) Where is this Ilya-mostly-fixed documentation? (ie, which
version of perl?)
(2) Did you document, for yourself for maybe later use,
warning-examples of where it hit those boundary-conditions?
Even if you didn't have the time or energy to pursue
maybe fruitless task of (a) finding (not so simple) and
(b) fixing these remaining problem-areas,
it'd probably be useful to see what you did find --
just to know what *not* to approach in split-use.
(3) If this split is *that* weird and unpredictable,
how much work would it be for someone (good like you)
to implement a splitSmall with perhaps fewer features,
but at least do those things robustly, "as advertised"?
(I mean, Perl-5 will probably continue being used
in a major way (for even new projects) long past
when perl-6 starts getting used for serious work,
so it might be well worth it for someone *to*
do something like a splitSmall.)
(4) I haven't looked at perl-6 yet -- but what does *it*
provide for its own split-like capabilities?
Thanks!
David