469,294 Members | 1,816 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,294 developers. It's quick & easy.

Perl

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
2 907
numberwhun
3,503 Expert Mod 2GB
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
4,059 Expert 2GB
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.

Similar topics

4 posts views Thread by Mark Wilson CPU | last post: by
31 posts views Thread by surfunbear | last post: by
reply views Thread by Kirt Loki Dankmyer | last post: by
13 posts views Thread by Otto J. Makela | last post: by
6 posts views Thread by surfivor | last post: by
4 posts views Thread by billb | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Geralt96 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.