Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners > Re: I want a pe...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 5 Topic 11007 of 12002
Post > Topic >>

Re: I want a perl script for?

by Jenda@[EMAIL PROTECTED] (Jenda Krynicky) Apr 30, 2008 at 03:53 PM

From: "Vinayak dutt" <vinayak.dutt@[EMAIL PROTECTED]
>
> 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@[EMAIL PROTECTED]
 === 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
 




 5 Posts in Topic:
I want a perl script for?
vinayak.dutt@[EMAIL PROTE  2008-04-30 12:50:49 
Re: I want a perl script for?
Jenda@[EMAIL PROTECTED]   2008-04-30 15:53:05 
Re: I want a perl script for?
orasnita@[EMAIL PROTECTED  2008-04-30 20:58:32 
Re: I want a perl script for?
rob.dixon@[EMAIL PROTECTE  2008-04-30 22:37:23 
Re: I want a perl script for?
vinayak.dutt@[EMAIL PROTE  2008-05-02 11:39:49 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 10:17:27 CDT 2008.