On Mon Dec 08 10:24:33 2008, ihrd wrote:
> Hi!
> in 33622:
>
> > sub foo (%h) { say %h.perl }; foo({a=>1});
> {"a" => 1}
> > sub foo (%h) { say %h.perl }; foo(1);
> 1
> > sub foo (%h) { say %h.perl }; foo("a");
> "a"This is a problem with parameter passing of arrays and hashes in general -- the parameter takes on the type of its argument regardless of the sigil. This has been fixed in the rvar branch and should be merged into trunk soon. Pm
