in reply to How to know if a perl script is put in the background

I haven't tried it right now, but you might be able to use the -t operator to test if STDIN is connected to a terminal, it might return false for a backgrounded job.

Replies are listed 'Best First'.
Re^2: How to know if a perl script is put in the background
by Bloodnok (Vicar) on Nov 18, 2008 at 16:21 UTC
    Way to go moritz - same conclusion/assumption here, but you're obviously a quicker typist :-)

    A user level that continues to overstate my experience :-))