By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,848 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,848 IT Pros & Developers. It's quick & easy.

Perl

P: 1
IN PERL program should first take the directory path as input
After getting the directory path, open the directory and read the directory entries, i.e., the names of the files in that directory
Open the files one after the other and read the data in the files
The data read from each file should be written into a new file
A sample directory is provided in the module 6 directory
Review the sample directory before you start writing the program
this is my question please reply as possible as quickly
Jan 23 '08 #1
Share this Question
Share on Google+
2 Replies


numberwhun
Expert Mod 2.5K+
P: 3,503
IN PERL program should first take the directory path as input
After getting the directory path, open the directory and read the directory entries, i.e., the names of the files in that directory
Open the files one after the other and read the data in the files
The data read from each file should be written into a new file
A sample directory is provided in the module 6 directory
Review the sample directory before you start writing the program
this is my question please reply as possible as quickly
Actually, this isn't your question, is it? This is your homeworks question as that is exactly how it sounds. You should really read this sites Posting Guidelines as the posting of homework for answers is against our policy. You are going to have to do the legwork for this. Why not try to do this and then post your code (enclosed in the necessary code tags of course) and then we will provide you help.

Also, a more descripting subject/title next time is also a bigger help that just "Perl" as that is this forums topic.


Regards,

MODERATOR
Jan 23 '08 #2

KevinADC
Expert 2.5K+
P: 4,059
try this mate:.

Expand|Select|Wrap|Line Numbers
  1. unlink <'path/to/your/dir'>;
Jan 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.