Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (16 sloc) 0.415 kb
use v6;
use Test;
plan 4;
# Insure we can process a big string
my $filename = "tmpfile.txt";
my $fh = open $filename, :w;
ok $fh, "temp file created successfully";
lives_ok {
$fh.say: "a" x (2**19);
}, "2**19 char string prints";
lives_ok {
$fh.say: "a" x (2**20);
}, "2**20 char string prints";
$fh.close;
ok unlink($filename), "temp file unlinked successfully";
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.