Syntactic Confectionery Delight | |
PerlMonks |
Re: detecting pod in files?by davidrw (Prior) |
on Aug 17, 2005 at 15:18 UTC ( [id://484465]=note: print w/replies, xml ) | Need Help?? |
You can use the program podchecker (see its man page) and check the status code returned on the the shell (2 means no pod found). Looking at its source, it uses the podchecker() function from Pod::Checker which returns -1 if no valid pod found.
In Section
Seekers of Perl Wisdom
|
|