NAME

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

VERSION

version 3.903

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

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