On Tue, Oct 26, 1999 at 05:17:17PM +0100, Greg McCarroll wrote: > At 12:14 26/10/99 -0400, Jeff Pinyan wrote: > >Why does > > > > sub foo (;$); > > print foo $a, $b; > > > >whine that foo has too many arguments? This was one issue I meant to > >discuss, and then got totally involved in the reftype debate. > > > >Is this "expected" behavior? > > this is what i would expect, ;$ implies that there are no mandatory > arguments, and potentially one optional argument. i.e. 0 or 1 arguments > are acceptable, but nothing else, > I might expect that to be parsed as: print foo($a), $b; Ronald