Running pugs r4158, I find that (some, at least) subroutine calls
only work with no whitespace between the sub name and the arguments.

sub numcmp ($a, $b) { return $a <=> $b };
$v  = numcmp(1,2);   # works fine
$v  = numcmp (1,2);  # fails with
$v  = numcmp

I don't see anywhere in the canon that no whitespace is allowed
between the function name and the opening paren of the arguments.

E6 /Molecules/ states that whitespace is optional.


Attached is a test case suitable for pugs (t/subroutines/numcmp.t).

david d zuhn
[EMAIL PROTECTED]

Reply via email to