in reply to open output files
Both system(...) and exec(...) will work, but with openning up of the output file at the end of the perl script, I will favour exec(...) over system(...), because it exceute a system command and never returns to the original process.
check perldoc -f exec for more details
|
|---|