X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F87ordered.t;h=1eb079bb08ab5ff01a399de733c68f7a01429cb5;hb=26c663f1;hp=324be84cefd2f7e7f70d4b1af5c7e468b7ce71ef;hpb=8273e845426f0187b4ad6c4a1b42286fa09a648f;p=dbsrgits%2FDBIx-Class.git diff --git a/t/87ordered.t b/t/87ordered.t index 324be84..1eb079b 100644 --- a/t/87ordered.t +++ b/t/87ordered.t @@ -6,7 +6,7 @@ use Test::More; use lib qw(t/lib); use DBICTest; -use POSIX qw(ceil); +use POSIX (); my $schema = DBICTest->init_schema(); @@ -156,7 +156,9 @@ $to_pos = undef; $to_pos++; $to_group = ($to_group % 3) + 1; $to_group_2_base++; - $to_group_2 = (ceil($to_group_2_base/3.0) %3) +1 + $to_group_2 = ( + POSIX::ceil( $to_group_2_base / 3.0 ) % 3 + ) + 1; } } foreach my $group_id_2 (1..4) {