On 7/5/05, Alex Brelsfoard <alexb-mgqofMCKMGJWk0Htik3J/w@xxxxxxxxxxxxxxxx>
wrote:
> OK, so I know there's an easy-ish way to handle this situation. But I'm
> currently running in circles, not finding the solution. Basically what I'm
> trying to do is run a system command (with either `command` or
> system("commnad") ) and retrieve the printed result form the command into a
> variable of some sort.
Sounds like you should try IPC::Open2 ("open a process for both
reading and writing") or IPC::Open3 ("open a process for reading,
writing, and error handling").
--
Ian Langworth
|