Gene Selkov, Jr. > Finnigan > Finnigan::Error

Download:
Finnigan-0.0206d.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.0206   Source  

NAME ^

Finnigan::Error -- a decoder for Error, an error log record

SYNOPSIS ^

  use Finnigan;
  my $entry = Finnigan::Error->decode(\*INPUT);
  say $entry->time;
  say $entry->message;

DESCRIPTION ^

Error is a varibale-length structure containing timestamped error messages. It implicitly links an error message to a scan using the retention time.

METHODS

decode($stream)

The constructor method

time

Get the entry's timestamp (retention time)

message

Get the text message

SEE ALSO ^

uf-error

AUTHOR ^

Gene Selkov, <selkovjr@gmail.com>

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by Gene Selkov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: