On Sun, Jul 17, 2011 at 10:40:01AM +0200, Moritz Lenz wrote:
> On 07/14/2011 11:47 PM, Parrot Raiser wrote:
> > When a subroutine is invoked with an empty parameter list, as follows:
> > 
> > run_stuff();
> > 
> > sub run_stuff {
> >     my ($parm) = @_;
> >     say "Parameter is $parm";
> > }
> > 
> > @_[0] contains "Any()".
> 
> Not "Any()", but Any (which say() prints as "Any()" to ease debugging)
> 
> > Should it?
> 
> Yes.

Not exactly -- master gets this wrong.  Type objects are supposed
to stringify to "" and produce a warning.

Nom (cf0da7d) also gets this somewhat wrong at present (but still better 
than master); it's treating the assignment as an item assignment.

Pm

Reply via email to