I'm unsure how chomp() should work with p6; it's not listed in S29 yet. Should the semantics of g.p6 below be the same for p5 and p6? It produces different output when run with p5 compared to pugs, at least that's my sleepy brain sees.
# cat g.p6 my @x = ( "a\n", "1", "x\n" ); for (@x) { print "1. '$_'\n" } chomp(@x); # or @x.chomp() for p6 for (@x) { print "2. '$_'\n" } # perl g.p6 1. 'a ' 1. '1' 1. 'x ' 2. 'a' 2. '1' 2. 'x' # pugs g.p6 1. 'a ' 1. '1' 1. 'x ' 2. 'a 1 x' /-\ Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com