hridyesh pant wrote: > Hi, Hello,
> I want to search a particular file inside the the first level of > directories. > like i have the directories like /usr/local/bin, /usr/package/bin , > /usr/lib/samba ....etc > i want to search a file only inside the first level of directories like > /usr/local,/usr/package,/usr/lib etc.. > I check with File::Find module but it search a file inside all the level > of directories.. You could use globbing: perldoc -f glob perldoc File::Glob Or if you know the exact file name then use the -e file test: perldoc -f -e John -- use Perl; program fulfillment -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>