NAME
Test::CircularDependencies - make sure non of the modules depend on themselves
SYNOPSIS
perl -Ilib script/find-circular-dependencies.pl t/circular_dependency/my_exe.pl --dir t/circular_dependency/
DESCRIPTION
Given one or more scripts, modules, or directories containing those, create a data structure that represents the dependencies. Allow the user to restrict the recursion to files found specific directories.
So let's say we have several application in our company and I'd like to make sure there are no circular dependencies.
projectA/ lib/A.pm bin/exe.pl projectB/ lib/ B.pm Module/ C.pm D.pm
but for histoical reasons while C.pm holds 'package Module::C;' D.pm holds 'package D;' so when we use this we need to
use lib 'projectA/lib'; use lib 'projectB/lib'; use lib 'projectB/lib/Module';
See als circular::require
AUTHOR
COPYRIGHT
Copyright 2015 Gabor Szabo, All Rights Reserved.
You may use, modify, and distribute this package under the same terms as Perl itself.