On 2011-03-02 19:22, Christian Marquardt wrote:
open CFG, '<', $_file || die("could not open file: $_file!");
That only dies if $_file is false. Funny that you did use parentheses with die. Some '$' characters were missing too: open my $CFG, '<', $_file or die "Error opening '$_file', $!"; -- Ruud -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/