in reply to getting files from Dir

Well, you said you want to get all the files under each vob, and the name of the vob is in $vob . . . but you don't use that variable anywhere.
I wonder if perhaps you meant
my @names = grep -f, <$vob/*tim>;
or
my @names = grep -f, <c:/testFolder/$vob/*tim>;
or something like that.

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.