in reply to Re: comparing array elements
in thread comparing array elements
So if is_running returns "0" if foo is running, I would do something like:
which seems so unnatural that I'm sure I must be missing the point somewhere.if (is_running('foo')){ # because "1" means "no" set_running('foo'); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: comparing array elements
by jdporter (Paladin) on Mar 30, 2007 at 19:50 UTC | |
by mojodaddy (Pilgrim) on Mar 30, 2007 at 20:25 UTC |