Re: I want a perl script for?



From: "Vinayak dutt" <vinayak.dutt@xxxxxxxxx>
Am vinayak here.
As am new to Perl and their is a requirment which says -
1. There exists a .zip which contains folders and file.

Have a look at the Archive::Zip module.

2. Search for 'makefile' in the respective folders and store them in a text
file.

Looks to me like it will be best to extract all the folders and files
first and then use module File::Find or File::Find::Rule to search
and process the files.

3. And search for .c files in them and list them in separate text file.
4. Then the files that exists other than .c files should be removed from the
dir.

perldoc -f unlink

Jenda
===== Jenda@xxxxxxxxxxx === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery

.