Example for implicit return:
sub foo($n){ $n; } And example for explicit return: sub foo($n){ return $n; }Is this on purpose? The implicit return is 4-5 times faster than explicit return.
Best regards luben
Example for implicit return:
sub foo($n){ $n; } And example for explicit return: sub foo($n){ return $n; }Is this on purpose? The implicit return is 4-5 times faster than explicit return.
Best regards luben