open (FH, "$File") || die "Can't open $File - $!\n";
while (<FH>) {
chomp;
if ($_ =~ /^(#|;|$)/) {
print "Found Blank-Line or Commented-Line @ line - #$.\n";
}
}
close (FH);
while (<FH>) {
chomp;
if ($_ =~ /^(#|;|$)/) {
print "Found Blank-Line or Commented-Line @ line - #$.\n";
}
}
close (FH);
No comments :
Post a Comment