On Sat Jul 24 15:23:43 2010, coke wrote:
> On Sun Jan 03 05:07:50 2010, nkh wrote:
> > rakudo commit: db84bc06990c37b93fe987dcffab4ed9bf31de92
> > build/PARROT_REVISION: 43076 1.9.0
> >
> > nadim@naquadim rakudo (master)$ ./perl6 nadim_test.pl
> > =begin without =end at line 2, near "\nsub A() {"
> > in Main (file <unknown>, line <unknown>)
> >
> >
> > a simple "=begin\n" in a text file is enough
>
> ━$━∫ cat foo.pl
> =begin
> ━$━∫ ./perl6 foo.pl
> ===SORRY!===
> =begin without matching =end at line 1, near "\n"
>
> This looks reasonable to me (and it's more than you get from p5). What
> are you expecting here?
The empty begin now has an even more helpful message:
./perl6 foo
===SORRY!===
=begin must be followed by an identifier; (did you mean "=begin pod"?)
at line 1, near "\n"
I think this is closable with tests.
--
Will "Coke" Coleda