The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Lab::Moose::DataFile - Base class for data file types

VERSION

version 3.831

METHODS

new

 my $datafile = Lab::Moose::DataFile->new(
     folder => $folder,
     filename => 'myfile.dat'
 );

Attributes

folder (required)

A Lab::Moose::DataFolder object.

filename (required)

filename in the folder.

autoflush

Enable autoflush of the filehandle. On by default.

timestamp

Request RFC3616 compatible timestamps of the measured data upon completion, from the timestamp authority specified via tsauthority. Off by default.

If enabled, an additional file with the suffix .ts containing the signed timestamp will be created.

tsauthority

When timestamps are requested, specify the authority to be contacted. The parameter can be a shorthand as, e.g., "dfn.de"; see Net::RFC3161::Timestamp for details. If no valid shorthand is found, the parameter is interpreted as a RFC3161 URL.

mode

open mode. Defaults to ">".

Read-only attributes available after creation:

path

path relative to the current working directory.

filehandle

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by the Lab::Measurement team; in detail:

  Copyright 2016       Simon Reinhardt
            2017       Andreas K. Huettel, Simon Reinhardt
            2018       Simon Reinhardt
            2020-2021  Andreas K. Huettel

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.