in reply to Re^2: sytem command perl
in thread sytem command perl
- You should check that open, close & rename succeeded
- If you're going to use select (and I wouldn't) make sure to restore STDOUT to what it should be when you're finished with it
- You've confused the use of $filename, $f, $backup and $b in your last two statements.