in reply to Return code and output of system command?

The close on a process-pipe-filehandle waits for the process to finish, and puts the exit status into $? (interpreted in the usual way).

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

  • Comment on •Re: Return code and output of system command?

Replies are listed 'Best First'.
Re: •Re: Return code and output of system command?
by Anonymous Monk on Apr 02, 2003 at 14:14 UTC
    This is exactly what I was looking for, thanks!