p4raw-id: //depot/cfgperl@5460
$out1=join(':',@ary);
$out2=join(':',@ary2);
# Using long double NVs may introduce greater accuracy than wanted.
-$out1 =~ s/:9\.87654321097999\d*:/:9.87654321098:/,
-$out2 =~ s/:9\.87654321097999\d*:/:9.87654321098:/
+$out1 =~ s/:9\.87654321097999\d*:/:9.87654321098:/;
+ $out2 =~ s/:9\.87654321097999\d*:/:9.87654321098:/;
print ($out1 eq $out2? "ok 2\n" : "not ok 2\n");
print ($foo =~ /def/ ? "ok 3\n" : "not ok 3\n");