my @files = ();
my @dirs = io->dir($path)->splitdir;
-
shift @dirs;
pop @dirs;
- my $buildpath = io('');
+ my $build_path = io('');
foreach my $dir (@dirs) {
- $buildpath = $buildpath->catdir("/$dir");
+ $build_path = $build_path->catdir("/$dir");
#/home/.../share/pages/blog.conf etc
- my $file = $self->_top_dir->catfile("$buildpath.conf");
+ my $file = $self->_top_dir->catfile("$build_path.conf");
if (!$file->exists || !$file->file || $file->empty) {
next;