in reply to Re: writing to stdin
in thread writing to stdin

Actually, there's a chomp $ans; missing (otherwise, one could write my $ans = <STDIN> || 'y';, which would be quite cool...)