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 =~ /$success/) 
                {
                        ......
                }
                
The if statement is always verified even the last line don't end with success.

Why?            


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

Reply via email to