If you're on a POSIXy system you can read user input from /dev/tty:
open T,"<","/dev/tty" or die "Can't read from /dev/tty: $!"; print "What do you want to do with this message?"; my $response = <T>; print $response;
In reply to Re: the greedy diamond, or leggo my STDIN
by Joost
in thread the greedy diamond, or leggo my STDIN
by headybrew
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |