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

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::AuditTag -- a decoder for AuditTag, a substructure found in the Finnigan file headers

SYNOPSIS ^

  use Finnigan;
  my $tag = Finnigan::AuditTag->decode(\*INPUT);
  say $tag->time;

DESCRIPTION ^

AuditTag is a structure with uncertain purpose that contains a timestamp in Windows format and a pair of text tags. These tags seem to carry the user ID of the person who created the files. Additionally, there is a long integer, possibly carrying the CRC-32 sum of the data file or a portion of it.

METHODS

decode($stream)

The constructor method

time

Get the timestamp

tag1

Get the value of the first tag. The second tag was found to be identical in all cases studied, so there is no tag2 accessor, but its value can be accessed as $obj->{data}->{"tag[2]"}->{value}.

stringify

Returns the timestamp followed by the first tag

SEE ALSO ^

Finnigan::FileHeader -- the parent structure

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: