- or download this
my $string= ' ' x 2**19;
$string= '';
- or download this
length( $string )= 2**19; # Doesn't work
- or download this
open NUL, "<", File::Spec->devnull();
sysread( NUL, $string, 2**19-length($string), length($string) );
close NUL;
- or download this
sysread( STDOUT, $string, 2**19 );
- or download this
sub grow
{
sysread( DATA, $_[0], $_[1] );
}
__DATA__