asdfghjkl has asked for the wisdom of the Perl Monks concerning the following question:
20071110 Edited by Co-Rion: Restored nodemy @lines = grep { -s && "$source/*.log" } readdir ($DIR); foreach my $file (@lines){ $newfile =~ s/\.old$/.new/; open READFILE, "$..../$file"; open WRITEFILE, ">$d../$newfile";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: transfering a particular kind of file
by graff (Chancellor) on Nov 05, 2007 at 07:05 UTC | |
|
Re: transfering a particular kind of file
by erroneousBollock (Curate) on Nov 05, 2007 at 06:43 UTC | |
by asdfghjkl (Initiate) on Nov 05, 2007 at 06:53 UTC | |
|