[Module-build-general] [DOC PATCH] contains_pod
Status: Beta
Brought to you by:
kwilliams
|
From: Dave R. <au...@ur...> - 2003-07-28 21:33:53
|
It's pretty handy, might as well document it. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/ Index: lib/Module/Build.pm =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build.pm,v retrieving revision 1.91 diff -u -r1.91 Build.pm --- lib/Module/Build.pm 25 Jul 2003 14:17:34 -0000 1.91 +++ lib/Module/Build.pm 28 Jul 2003 21:31:35 -0000 @@ -802,6 +802,11 @@ The arguments may be either a scalar or an array reference of file names. +=item contains_pod($file) + +Returns true if the given file appears contains a line beginning with +'=pod', '=head', or '=item'. + =back =head1 ACTIONS |