Catmandu::Flushable - Optional role for flushable bags
flush makes sure that data added get persisted to disk for stores that support this operation (e.g. Elasticsearch).
flush
This role also installs a hook that calls flush on commit.
commit
$store->bag->flush;
Flush the bag.
To install Catmandu, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu
CPAN shell
perl -MCPAN -e shell install Catmandu
For more information on module installation, please visit the detailed CPAN module installation guide.