Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
First of all, the things that are promised for 5.10. :) These include:
Aside from that, I'd like to see support for matching regexes across boundaries for partially loaded buffers. That would ease processing files in blocks of a few k each, instead of having to load the entire file into a string. As an example: say you're looking for a word "SELECT" and the buffer contains: It's possible that it would have matched "SELECT" if the buffer wasn't cut off. I'd like regexes to be able to catch that. Automatically. I don't really care how it's done, but I personally favor a system that takes some action (die, set a variable, call a callback sub) when the lookahead "touches" the back end of the buffer. (I call that the "electric fence" approach: touch it and you're dead.) In reply to Re: what would you like to see in perl5.12?
by bart
|
|