in reply to Re^3: use strict with format and tailing a file
in thread use strict with format and tailing a file

Good morning, (for me at least).
Here is my format problem:
format = STATOUTATOUT
@<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<@<<<<<<<<<<<<<<<<<<<<<<
$STDESC, $STVAL
.

Undefined format "STDOUT" called at ./getlogs.pl line 88, line 2.
But if I use
format = (default STDOUT), everything works out fine.
On the second subject, yes Im working on a older perl release and Ill have to convice the Sys admins on upgrading perl on the prodution machines, meanwhile Ill just hold on to the tail command.
Thanks in advance.
Nuno A
  • Comment on Re^4: use strict with format and tailing a file

Replies are listed 'Best First'.
Re^5: use strict with format and tailing a file
by ysth (Canon) on Feb 11, 2005 at 19:15 UTC
    It's supposed to be format FORMATNAME=You've got the = in the wrong place.
      Ups, Thanks
      :)