Having just told relientmark not to worry about efficiency (Doing perl efficiently), I confess to resorting to embedding C code when performance really matters. I'd like to document the code with pod, but separating the pod from the code in a separate file is a recipe for having them drift out of sync. So I'd like to keep the pod as C comments, and run a script to split them out to generate pure pod. I thought there might be some common commenting convention that has already been adopted, but searches here and in CPAN and on google didn't turn anything up.
I could write plain old pod up against the left margin within a comment (and do something to prevent */ within it from terminating the comment), but not being able to indent the comments at the same level as the code is visually disruptive (aka ugly). I can invent my own conventions for introducing and terminating blocks of pod, but I'd prefer to use a "standard", if such a thing exists. Does it?
In reply to Embedding pod in C by jpl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |