NAME

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

VERSION

version 3.662

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

Copyright 2016       Simon Reinhardt
          2017       Andreas K. Huettel, Simon Reinhardt
          2018       Simon Reinhardt

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