[Module-build-checkins] Module-Build/lib/Module/Build Authoring.pod,1.12,1.13
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <kwi...@us...> - 2005-09-20 02:11:35
|
Update of /cvsroot/module-build/Module-Build/lib/Module/Build In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26158/lib/Module/Build Modified Files: Authoring.pod Log Message: Add a dir_contains() method Index: Authoring.pod =================================================================== RCS file: /cvsroot/module-build/Module-Build/lib/Module/Build/Authoring.pod,v retrieving revision 1.12 retrieving revision 1.13 diff -u -d -r1.12 -r1.13 --- Authoring.pod 19 Jul 2005 00:29:01 -0000 1.12 +++ Authoring.pod 20 Sep 2005 02:11:28 -0000 1.13 @@ -898,6 +898,13 @@ Returns the name of the currently-running action, such as "build" or "test". +=item dir_contains($first_dir, $second_dir) + +Returns true if the first directory logically contains the second +directory. This is just a convenience function because C<File::Spec> +doesn't really provide an easy way to figure this out (but +C<Path::Class> does...). + =item dispatch($action, %args) This method is also called from the auto-generated C<Build> script. |