Help for this page

Select Code to Download


  1. or download this
        my $s;
        for [\~] 1..* {
            last if .chars >= 1_000_000;
            $s := $_;
        }
    
  2. or download this
        my $s = first gather for [\~] 1..* -> $x, $y? {
            take $x if $y.chars >= 1_000_000;
        }