I usually snag chunks of my test files to use in SYNOPSIS and EXAMPLES sections.
That, or take some test parts and slightly modify them for such a purpose. Your unit test suite should have every imaginable (to you) angled use of your software, and tests should be written before, or as you write code, so A) you know it works, B) it should be literally copy/pasteable and C) so long as the test code never changes, your examples shouldn't have to either.
In reply to Re: Coming up with good examples in POD
by stevieb
in thread Coming up with good examples in POD
by Lady_Aleena
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |