I have tried to read a file in backwards in stead of from the top
without any success !!!

 

The original code looks like this .

 

open(DATABASE, "<requests.log") || die "Cannot open ProdView Log for
read!\n";

 

I have tried the following. 

I do not get any errors from Perl, it just ignores the command.

 

open( reverse(DATABASE), "<requests.log") || die "Cannot open ProdView
Log for read!\n";

 

reverse(open(DATABASE, "<requests.log")) || die "Cannot open ProdView
Log for read!\n";

 

Any suggestion would be helpful.

 

TIA

 

 

Larry Sandwick

Sarreid, Ltd.

Network Administrator

(252) 291-1414 x223

 

Reply via email to