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.
In reply to Re: My program hangs
by vinoth.ree
in thread My program hangs
by surenbika
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |