in reply to Array issue
When you 'open' the input file, you are associating it with the INPUT filehandle, but you are reading from the CONFILE filehandle.
Also, as others have mentioned, you appear to be missing a curly brace. You would do well to 'use strict' as well.
Benedictus
|
---|
In Section
Seekers of Perl Wisdom