because it creates an unwanted child. Use rename instead:system("mv b.txt a.txt");
rename('b.txt', 'a.txt');
In reply to Re: Best way to write in Perl
by cdarke
in thread Best way to write in Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |