On 11-06-11 11:14 AM, eventual wrote:
Hi, I am using windows7. Using Perl, how do I search for files in my computer, eg to search in c:\ and all its sub-directories. I only know how to use glob to search from a particular location. Thanks
You can use File::Find, see `perldoc File::Find`. It is a standard module and is installed along with Perl. For a list of all the standards pragmatics and modules, see `perldoc perlmodlib`.
-- Just my 0.00000002 million dollars worth, Shawn Confusion is the first step of understanding. Programming is as much about organization and communication as it is about coding. The secret to great software: Fail early & often. Eliminate software piracy: use only FLOSS. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/