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.

Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6

Reply via email to