in reply to Parse a line

It just sits there because that's what you've told it to do. The while( <> ) { ... } tells perl to read from the standard input. If you don't give a filename it'll just sit there very patiently waiting for you to type something at it.

Replies are listed 'Best First'.
Re^2: Parse a line
by gaal (Parson) on Dec 10, 2004 at 15:14 UTC
    "Because that's what you've told it to do" bugs are always the hardest to solve! :)