if (defined($this->{'_stdin'})){ local *REAL_STDIN = $this->{'_stdin'}; if(!(open STDIN, "&REAL_STDIN")){ return -3; } }