The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Data::Record::Serialize::Role::Sink - Sink Role

VERSION

version 0.17

DESCRIPTION

If a role consumes this, it signals that it provides sink capabilities.

METHODS

close

  $s->close;

Flush any data written to the sink and close it. While this will be performed automatically when the object is destroyed, if the object is not destroyed prior to global destruction at the end of the program, it is quite possible that it will not be possible to perform this cleanly. In other words, make sure that sinks are closed prior to global destruction.

BUGS AND LIMITATIONS

You can make new bug reports, and view existing ones, through the web interface at https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Record-Serialize.

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Diab Jerius <djerius@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2017 by Smithsonian Astrophysical Observatory.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007