in reply to Re^3: opening browser from script
in thread opening browser from script

Actually, I meant
if (`firefox&`) {print "no browser found\n"}
but I wrote it wrong in the previous post! I should better pay attention next time I start hearing "Brain overflow...out of memory"

Replies are listed 'Best First'.
Re^5: opening browser from script
by shmem (Chancellor) on May 17, 2007 at 14:46 UTC
    That's bogus, and you are still not getting STDERR:
    if(`nonexisting &`) { die "running 'nonexisting' produced whatever output.\n" } print "all well.\n"; __END__ sh: nonexisting: command not found all well.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}