Piers Cawley wrote: > Damian Conway <[EMAIL PROTECTED]> writes: > > > > > my @images = qw( pic1 pic2 pic3) ^_ ('.jpg'); > > > > > > Doesn't that clash with the default currying argument? > > > > No. The DCA is: $^_ > > Duh. I brought this up at the London.pm meeting when Simon previewed > this, and he pointed out that I was wrong. And *still* I forgot. > Well, not exactly wrong, just slightly out of date. The HOF RFC (023) specifies ^_ and friends. The $ prefix has been added since, which not only disambiguates the concat hyper-operator, but also maintains consistancy with the idea that '$ means scalar'.
Actually... Damian, does this, along with the new reference/context stuff, mean that HOFs could also have hash and array parameters? I guess there's no reason why not...