Re: use junction

2005-05-03 Thread Thomas Sandlaß
Juerd wrote: I personally would not mind requiring whitespace around & in those cases. Same here. Actually the whitespace after & makes the destinction, or not? If parens are used for the grouping, then why is the colon required? Because it escapes into type-space like ::() escapes into name-space

Re: use junction

2005-05-03 Thread Juerd
Larry Wall skribis 2005-05-03 6:22 (-0700): > sub foo (Int&Str &block) {...} > sub foo (:(Int&Str) &block) {...} > Alternately, we install a small heuristic and document it in the fine print. I personally would not mind requiring whitespace around & in those cases. If parens are used for

Re: use junction

2005-05-03 Thread Larry Wall
On Mon, Apr 25, 2005 at 08:33:06PM +0200, Juerd wrote: : I think it would be great to be able to use a junction with use: : : use strict & warnings; : : A disjunction could mean any of the listed modules suffices. This comes : in handy when you code something that will work with any of three

use junction

2005-04-25 Thread Juerd
I think it would be great to be able to use a junction with use: use strict & warnings; A disjunction could mean any of the listed modules suffices. This comes in handy when you code something that will work with any of three XML parsers. Although because ordering matters, the // operator is