While STDERR is a file-descriptor to your terminal (if you haven't redirected stdout), it is only an outbound channel... so you need to open an inbound channel to the same device if you want to read from it.open STDERRIN,"<&STDERR" or die "Could not dupe STDERR for input: $!\n +"; my $line = <STDERRIN>;
In reply to Re: Re: STDIN schizofrenia
by etcshadow
in thread STDIN schizofrenia
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |