[perl #41765] [TODO] examples embedded in pod should all be parseable

Will Coleda via RT parrotbug-followup at parrotcode.org
Thu Mar 19 20:37:37 UTC 2009


On Fri Mar 09 11:26:17 2007, particle wrote:
> we should have a test which makes sure that all pir/pasm embedded in
> pod files parses as valid. whether we use a syntax like
> 
> =for PIR
> 
>   .sub main
>   # ...
>   .yield(result)
>   # ...
>   .end
> 
> =cut
> 
> or some other means needs thought, design, and implementation.
> comments and patches welcome.
> ~jerry

First pass committed in 37599, using:

=begin PIR
 # some valid PIR
=end PIR

perl t/examples/pod.t

or 

make examples_tests

to run it. (With this commit, I added two of these blocks to 
docs/compiler_faq.pod).

-- 
Will "Coke" Coleda


More information about the parrot-dev mailing list