On Mon, Jan 12, 2009 at 03:05:21PM -0800, Ovid wrote: : What should this output? : : my @array = ' foo ', ' bar '; : @array .= trim; : : say @array.perl; : : And what if I have an array of hashes of hashes of arrays? : : Currently you can call 'trim' on arrays, but it's a no-op. Similar issues with chomp and friends.
It should probably say "No such method". We have hyperops now to apply scalar operators to composite values explicitly: @array».=trim Larry