in reply to formatting output from system call
I want to pull a value out of the output to the text file.
All is well
You have not shown us the output and what value you want to extraxt from it.
As toolic told, you can use qx() to execute your comand and capture the output. System() call will return the exit status of your command
All is well
In Section
Seekers of Perl Wisdom