Hi, I have this code :
tie *FILE,'File::ReadBackwards', 'c:\\cygwin_syslog.txt'
                                or die "Can't read logfile.txt: $!";
                $lastline = <FILE>;
                if(defined $lastline and $lastline =~ /^LOG_iNFO/) 
                {       
                        #do something
                        
                }
I have the following error:

Can't locate object method "TIEHANDLE" via package "File::ReadBackwards"
 althought I have successfully installed File::ReadBackwards.
 
 Thanks.                
                        


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to