On Tue, 2007-07-24 at 12:44 +0300, Octavian Rasnita wrote:
> From: "Jeff Pang" <[EMAIL PROTECTED]>
> > --- Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> > You may try the Unix 'tail' command and pipe the
> > result to your Perl program.Like:
> >
> > tail -f access_log|perl -e
> I can do this, but i
Samba.
Thanks.
Octavian
- Original Message -
From: "Andrew Curry" <[EMAIL PROTECTED]>
To: "Octavian Rasnita" <[EMAIL PROTECTED]>; "Jeff Pang"
<[EMAIL PROTECTED]>; "beginners perl"
Sent: Tuesday, July 24, 2007 1:12 PM
Subject: RE:
ted so not sure if it will do what you require.
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
Sent: 24 July 2007 10:45
To: Jeff Pang; beginners perl
Subject: Re: reading from a file
From: "Jeff Pang" <[EMAIL PROTECTED]>
>
> --- Octavian Rasnita &
From: "Jeff Pang" <[EMAIL PROTECTED]>
--- Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Hi,
I am trying to read from a log file which increase
continuously almost every
second.
You may try the Unix 'tail' command and pipe the
result to your Perl program.Like:
tail -f access_log|perl -e
'whi
--- Octavian Rasnita <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am trying to read from a log file which increase
> continuously almost every
> second.
You may try the Unix 'tail' command and pipe the
result to your Perl program.Like:
tail -f access_log|perl -e
'while(<>){handle_routine()}'
handl