in reply to STDIN behaves different according to context

This problem isn't being caused by your code. Your code works just fine. The problem must be caused by some external factor.

--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

  • Comment on Re: STDIN behaves different according to context