On Tue, 26 Jun 2001, Stephen Neu wrote:

> :>    exec $cmd, $lookFor, @{$LOGS[$_]}  unless $pid=fork; # fork new
>
> I might be off my rocker, but do you want that to say...
>       unless $pid == fork; # equality, not assignment...
> perhaps?  If I'm off base, feel free to tell me to get lost.

No, it IS an assignment.  The code is checking to see if a pid was
actually returned from the fork call and successfully assigned to $pid.

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Human kind cannot bear very much reality.
                -- T.S. Eliot, "Four Quartets: Burnt Norton"

Reply via email to