On Nov 25, 8:11 pm, "avile...@gmail.com" <avile...@gmail.com> wrote:
> Hi all,
>
> I have a group of dirs and subdirs that look like mydir/00/00/00,
> mydir/00/00/01 ... mydir 11/55/99.
>
> In the same way I can do an "ls mydir/??/??/??/*.ext", is there a way
> that I can do an opendir like:
>
> opendir(DIR, "mydir/??/??/??")
>
> Cheers,
>
> Albert.
Hi Albert,
use the File::Find module. I think it will give you the flexibility to
do what you want.
http://search.cpan.org/~nwclark/perl...b/File/Find.pm
Good luck,
Spiros