"be consistent" | |
PerlMonks |
Re: Outputting results of an exe to a text fileby fidesachates (Monk) |
on Apr 12, 2011 at 20:22 UTC ( [id://899048]=note: print w/replies, xml ) | Need Help?? |
Like a *nix system, windows understands the > redirector. Add the "> text.txt" to the end of your command and the output will end up there. Make sure you have paths set properly or use absolute paths. Another solution is to call the exe in perl with backticks thus capturing the output into the perl script and then print the array into a file.
In Section
Seekers of Perl Wisdom
|
|