looking for light-weight data persistence solution in perl

后端 未结 6 1462
离开以前
离开以前 2021-02-14 11:29

In my app I need to store some simple data both in memroy and in disk. A real database will be overkill in my case, so I need lighter one to handle the simple data persistence r

6条回答
  •  情歌与酒
    2021-02-14 12:11

    You might want to try Tie::Storable. Then it's as simple as addressing a hash.

    If you're not looking to store a ton of data and you're OK loading everything all at once at program startup, it might be the way to go.

    If you're looking for something more sophisticated but still light weight, a lot of people (including myself) swear by SQLite.

提交回复
热议问题