On 11/11/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> Can't use string ("1193892901.686") as a SCALAR ref while "strict refs" in
> use at telseek.pl_ line
The line number that you omitted points to a place in your source code
where you dereference a reference to a scalar, but the reference in
que
>
> It sounds as if you really want to know whether the log file has been
> updated between one invocation of your program and the next. Is that
> it? (It's helpful to tell us what you want to accomplish, not just how
> you hope to accomplish it. Storing a byte position into a temporary
> file i
On 11/6/07, sivasakthi <[EMAIL PROTECTED]> wrote:
> I have one requirement, the file content is following, it is a dynamic
> file,
>
> 1194240905.451105 127.0.4.56 TCP_MISS/200 2853 GET
> cache_object://localhost/info - NONE/- text/plain
> 1194240905.452 0 127.0.0.1 TCP_MISS/200 2853 GET
Sorry..the actual tried coding is following,
#!/usr/bin/perl
use strict;
use warnings;
use Tie::File;
my ($Ltimestamp,$Lelapsed,$Lhost,$Ltype,$Lsize,$Lmethod,$Lurl,$Luser,
$Lhierarchy,$Lconttype);
my($name,$pos,$name1,$no,$tmp,$Ltimestamp1);
our $tmpp;
my $file="/file/path";
open(FH,"tmp.txt") ||