Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbrowder/storable-lite
Provides persistent storage of Raku classes and other types in the local user's file system
https://github.com/tbrowder/storable-lite
Last synced: about 1 month ago
JSON representation
Provides persistent storage of Raku classes and other types in the local user's file system
- Host: GitHub
- URL: https://github.com/tbrowder/storable-lite
- Owner: tbrowder
- License: artistic-2.0
- Created: 2021-12-17T16:57:18.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-12-30T01:56:42.000Z (about 3 years ago)
- Last Synced: 2024-12-09T19:50:21.190Z (about 2 months ago)
- Language: Raku
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Actions Status](https://github.com/tbrowder/Storable-Lite/workflows/test/badge.svg)](https://github.com/tbrowder/Storable-Lite/actions)
NAME
====Storable::Lite - Provides persistent storage of Raku classes and other types in the local user's file system
SYNOPSIS
========```raku
use Storable::Lite;
```DESCRIPTION
===========**Storable::Lite** is a copy of the current Raku module **PerlStore** with a name change and other changes to reflect the new Raku name of the original Perl 6. It is also now under management of **App::Mi6** and published to the **Zef** Raku module repository.
ORIGINAL DESCRIPTION (rakuized)
===============================.raku serialization class and module
This module will work only for only simple situations. All data that is not visible after calling [.raku](http://doc.raku.org/routine/perl) method will be lost. This may be considered a limitation or feature.
```raku my Bar $bar .= new(a=> 128); my Foo $foo .= new(u=> 'Gore', bar => $bar);
$foo.to-file('tt1.raku');
my $tested = Foo.from-file('tt1.raku');```
AUTHOR
======Tom Browder
Kamil Kułaga [github:teodozjan (original author)]
COPYRIGHT AND LICENSE
=====================Copyright 2021 Tom Browder
This library is free software; you may redistribute it or modify it under the Artistic License 2.0.