Re: deleting files from the directory from a file list. Please Help!

2003-08-02 Thread R. Joseph Newton
perlwannabe wrote: > > Not at all. I am checking various sources for this problem. The > responses on the usenet were helpful...but the problem remains. I came to > the mailing list to have a direct dialogue with individuals rather than a > post that will get lost in two days. I am appreciativ

RE: deleting files from the directory from a file list. Please Help!

2003-07-25 Thread wiggins
On Fri, 25 Jul 2003 15:18:39 -0600, [EMAIL PROTECTED] wrote: > FYI: I have been doing perl for about two weeks, so if my answer screws you up, > don't sue me please! :D > > You would do something like this: > > foreach my $string () > { >

Re: deleting files from the directory from a file list. Please Help!

2003-07-25 Thread John W. Krahn
Perlwannabe wrote: > > Here is my problem. I want to delete the files contained in a directory > from a list contained in a file. Here is an example: > > The input file is a regular text file in the following format (call it > myfile.txt); > > item1 > item2 > item3 > item4 > > > What I w

RE: deleting files from the directory from a file list. Please Help!

2003-07-25 Thread bseel
FYI: I have been doing perl for about two weeks, so if my answer screws you up, don't sue me please! :D You would do something like this: foreach my $string () { system "cmd del *string*"; } I believe that is right. But even if I am, some of these other guys will show you a better way