in reply to grep problems and file copying issues
Better way to do it.my %dbfile = (); open DBFILE , "$dbFileName" or die $!; foreach (<DBFILE>) { $dbfile{$_} = 1; } close DBFILE; if (defined $dbfile{$cdLabel}) print "This CD ($cdLabel) is already in the database\n"; exit; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: grep problems and file copying issues
by ambiguous (Novice) on Jul 11, 2000 at 03:01 UTC |