NAME
Lab::Moose::DataFile - Base class for data file types.
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