in reply to My program hangs
Hi,
Your program is not hangs,Its waiting for input from you, when you write <> it is a abbrivation for <STDIN>, so it will read either from a file specified on the command line or from stdin if no file is given.
As told by Corion, you need to use <$fh>, to read from your file handle.
|
|---|