As well as dragonchild's fine advice you should be checking the success of the opens that you are doing and printing the error message in $! if they fail.
/J\
In reply to Re: Why isn't the file being produced?
by gellyfish
in thread Why isn't the file being produced?
by kjg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |