Hi,

Why is block arguments definition so different from method arguments definition?

proc { |x| p x }
	accepts any number of args, but gives an array only if argc > 1
proc { |*x| p x }
	also accepts any but gives an array even if argc == 1.
proc { |x,| p x }
	only accepts one arg.

This strange behavior hurts my POLS...

It might break exiting code to make them similar to method definitions, but I think Ruby needs it.


Mike.
midulo.