Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: adf31e26c7
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (5 sloc) 0.212 kb
use Test;
use List::Utils;
is take-while((1...*), * <= 10), ~(1...10), "take-while works on a basic infinite loop";
is take-while((1...*), * <= -1), "", "take-while works if condition is initially false";
done;
Jump to Line
Something went wrong with that request. Please try again.