use IO::Interactive qw(is_interactive); if ( is_interactive() ) { print "Running interactively\n"; }
In reply to Re: How to know if a perl script is put in the background
by mifflin
in thread How to know if a perl script is put in the background
by rapide
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |