
sleuth
Enthusiast
/ Moderator
Dec 5, 2000, 8:40 PM
Post #2 of 2
(512 views)
|
Re: flat file db help..simple question?
[In reply to]
|
Can't Post
|
|
Def an intermediate question, :) <BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR> open(file, "<data.db") | | print "$!"; while(<file){ ($id,$name,$url)=split(/\|/, $_); if ($name ne "ARSONE"){ push(@new,$_); } } close(file); open(file_new, ">data.db") | | print "$!"; print file_new @new; close(file_new); </pre><HR></BLOCKQUOTE> Sleuth
|