Login
Failing test with ProhibitParensWithBuiltins that I'm not sure what to
authorElliot Shank <perl@galumph.com>
Sat, 18 Oct 2008 01:58:36 +0000 (01:58 +0000)
committerElliot Shank <perl@galumph.com>
Sat, 18 Oct 2008 01:58:36 +0000 (01:58 +0000)
do with.  Treat "int" as an operator?

t/CodeLayout/ProhibitParensWithBuiltins.run

index cd1c882..cb37ea1 100644 (file)
@@ -61,6 +61,8 @@ $foo = sin( $foo ) * 2;
 $foo = uc( $foo ) . $bar;
 $foo = lc( $foo ) . $bar;
 
+$nanosecond = int ( ($value - $epoch) * $NANOSECONDS_PER_SECOND );
+
 #-----------------------------------------------------------------------------
 
 ## name RT #21713