in reply to Re^2: globing directory names with spaces
in thread globing directory names with spaces

Alternatively you could use File::Find::Rule
use File::Find::Rule; my @files = File::Find::Rule->file() ->name('*.java') ->in('your/dir/here');
Which will return a list of all the files with the .java extension in the given directory and all of it's subdirectories.
HTH

_________
broquaint