NAME

Lab::Moose::DataFile::Meta - YAML Metadata file

VERSION

version 3.881

SYNOPSIS

my $file = Lab::Moose::DataFile::Meta->new(
    folder => $folder,
    filename => 'metafile.yml'
);

$file->log(meta => {key1 => $value1, key2 => $value2});

METHODS

log

Log either an hashref or an arrayref to the log file. Augment the file's contents. The new keys/items will be merged with the existing ones. Rewrites the file with the new contents. You may not mixup calls with hashref and arrayref arguments.

COPYRIGHT AND LICENSE

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

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