On Mon Apr 13 17:10:03 2009, nelo.ony...@googlemail.com wrote: > Hi all, > > I hope this PATCH is correct. A couple of issues came up whilst I was > working on this: > > > Shouldn't we be able to return from within the try block? > According to http://www.rakudo.org/status these already work but I > am not > sure how CATCH blocks work > > > Do file tests work yet? > I think a :e test would be better than a try block here > > > HEREDOCS don't seem to work > Hence I used the IO::slurp in the tests ... which need work ;) > > > Is the #{returns Array of Str} from > http://github.com/mattw/form/blob/9ec36b4c7b1bfde622ef14cb8d51ca15d12dbd01/lib/Form/Text Formatting.pmcorrect > or is that just a comment > I tried it and it works but I have not seen that sort of use > anywhere > else > > Please do let me know if I've made any errors in my implementation so > I can > note them for next time. > > Thanks. >
Sorry about the delay: Bad News: this patch no longer applies. Good News: this seems to have been added already. $ cat foo.pl say "line 1"; say "line 2"; $ ./perl6 -e "print slurp 'foo.pl'" say "line 1"; say "line 2"; Thank you very much for the patch - we're trying to improve our response time on tickets, please bear with us. -- Will "Coke" Coleda