NAME

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

VERSION

version 3.791

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.

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) 2021 by the Lab::Measurement team; in detail:

Copyright 2016       Simon Reinhardt
          2017       Andreas K. Huettel, Simon Reinhardt
          2018       Simon Reinhardt
          2020       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.