On Tue, May 19, 2009 at 12:30:53AM -0700, Ahmad Zawawi wrote:
> Given the following:
> 
> "1".say;
> =begin pod
> =end pod1
> "2".say;
> 
> The output is only "1" but should be "1\n2" or at least a runtime
> error message for unmatched POD.

Rakudo is simply following STD.pm here, and STD.pm (r26884) allows 
any pod identifier to go to the end of the file.

S02:3319 seems to indicate that the "=begin END" form is special,
which implies to me that the non-END forms should indeed have
the required closing marker.  If we can get confirmation that
only the "=begin END" is special, then I'll adjust Rakudo's
grammar to follow that (and possibly STD.pm as well).

Thanks!

Pm

Reply via email to