Hi list, Thanks for suggesting PerlCritic to me - I just love it :-)
Following the instructions, I am now trying to change my filehandles from a bareword style to something more ... uhm, correct ;-) I tried my $vconfig = IO::File->new("$vconfig") or LOGDIE("$fnc - $vconfig konnte nicht gelesen werden!\n"); while (<$vconfig>) { chomp; if ($_ eq $db) { $dbtype = "V"; last; }; } close $vconfig; but I just receive errors: Use of uninitialized value in scalar chomp at /opt/data/magna/wartung/dbmove.pl line 231. Use of uninitialized value in pattern match (m//) at /opt/data/magna/wartung/dbmove.pl line 232. Could somebody please tell me why this doesn't work? Thanks, Nora