* Ovid <publiustemp-perl6langua...@yahoo.com> [2009-01-13 00:35]: >* Larry Wall <la...@wall.org> [2009-01-13 00:25]: >> It should probably say "No such method". We have hyperops now >> to apply scalar operators to composite values explicitly: >> >> @array».=trim > > > Won't that fail with 'No such method' on an array of hashes? Or > are hyperops applied recursively?
I would *NOT* want a simple `».` to recurse down into a data structure. But I wonder if it’s reasonable to expect that hypermethodcalls will collect their return values in an array. Then trimming the values of the hashes in an array would be simply @array».values».=trim; Imagine writing this in another language. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>