On 20 Jun 2001 11:54:12 -0400, Chas Owens wrote:
<snip /> 
> open FH, ">$ARGV[0].tmp.$$" or die "Could not open $ARGV[0]:$!";
> 
> print FH $file;
> 
> close FH;
> </code>
> 
> and change
> 
> $parser->parsefile($ARGV[0]);
> 
> to
> 
> $parser->parsefile("$ARGV[0].tmp.$$")
<snip />

I have removed the writing of $file to a file and change the call to
parsefile to parse (Duh, if I am bother to read the file into memory I
might as well us it there).  I have also removed the call to unlink.
 
--
Today is Sweetmorn, the 25th day of Confusion in the YOLD 3167
P'tang!


Reply via email to