| Next | Program
Repair Shop ![]() |
89 |
The rest of the program has this structure:
34 if (-d $source_node) {
...
41 } else {
...
50 }
51 &xcopy($source_node) if -d $source_node;
Let's rewrite this as:
if (-d $src_file) {
...
xcopy($src_file, $dst_file);
} else {
...
}
| Next | ![]() |
Copyright © 2002 M. J. Dominus |