# New Ticket Created by "Paul Cochrane" # Please include the string: [perl #40599] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40599 >
Hi, This file is actually a hack of the C<check_returns> sub in C<tools/dev/check_source_standards.pl> and checks that return statements look like C<return foo;> rather than C<return (foo);>. This isn't a firm standard like many of the other coding standards tests as it will return a false positive on statements like: return (void *) malloc( size ); however, it will pick up the instances it is intended to fix. Comments welcome, Paul files affected: MANIFEST t/codingstd/returns.t
returns_t.patch
Description: Binary data