hello i want to list the directories, found files,. Currently i am using following module to find the file
my $foldername; my $subdirlevel= shift // 2 ; my @files = File::Find::Rule->file() ->name('music.xml') ->maxdepth($subdirlevel) ->in( $foldername); print Dumper (@files); this give me the path where the music.xml is but not the directory nam +e.
how do i also get the directory name instead of the path to the file?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |