Re: I want a perl script for?
- From: Jenda@xxxxxxxxxxx (Jenda Krynicky)
- Date: Wed, 30 Apr 2008 15:53:05 +0200
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
.
- Follow-Ups:
- Re: I want a perl script for?
- From: Octavian Rasnita
- Re: I want a perl script for?
- References:
- I want a perl script for?
- From: Vinayak dutt
- I want a perl script for?
- Prev by Date: Re: removing duplicates
- Next by Date: Re: perl source code encryption
- Previous by thread: I want a perl script for?
- Next by thread: Re: I want a perl script for?
- Index(es):
Relevant Pages
|