<?xml version="1.0" encoding="windows-1252"?>
<node id="892962" title="Re: Finding directory paths for missing objs" created="2011-03-13 12:51:37" updated="2011-03-13 12:51:37">
<type id="11">
note</type>
<author id="664508">
philipbailey</author>
<data>
<field name="doctext">
&lt;p&gt;As suggested by [jethro] in your previous thread ([id://892756]), [doc://File::Find] can achieve your requirements:&lt;/p&gt;
&lt;c&gt;#!/usr/bin/perl

use warnings;
use strict;

use File::Find;

find(sub {
        if (-d and /[oa]-le-v7(-g)?$/) {
            print "No matching files in $File::Find::dir/$_\n" unless grep { /\.(o|a|so)$/ } glob "$_/*";
        }
    },
    "testdir"
);&lt;/c&gt;</field>
<field name="root_node">
892883</field>
<field name="parent_node">
892883</field>
</data>
</node>
