On 10/24/2010 07:07 PM, Ben Goldberg wrote:
I know that perl6 has / will have lazy strings, since (in
S32::Containers) the List role defines a cat method, which returns a
Cat object, which does the Str interface, but generates the string
lazily.
First, are Cat objects documented anywhere
On Sun, 31 Oct 2010 20:29:27 +0100, Moritz Lenz mor...@faui2k3.org wrote:
If we can efficiently match against a lazy string, and if this doesn't
turn the lazy string into a (large) normal string, then the best way
to process a file might be something similar to:
my $fh = open ... err die;
Francesco 'Oha' Rivetti wrote:
On Sun, 31 Oct 2010 20:29:27 +0100, Moritz Lenz mor...@faui2k3.org wrote:
If we can efficiently match against a lazy string, and if this doesn't
turn the lazy string into a (large) normal string, then the best way
to process a file might be something similar to:
I know that perl6 has / will have lazy strings, since (in
S32::Containers) the List role defines a cat method, which returns a
Cat object, which does the Str interface, but generates the string
lazily.
First, are Cat objects documented anywhere else?
Secondly, if a regular expression match is