1Storable(3) User Contributed Perl Documentation Storable(3)
2
3
4
6 PDL::IO::Storable - helper functions to make PDL usable with Storable
7
9 use Storable;
10 use PDL::IO::Storable;
11 $hash = {
12 'foo' => 42,
13 'bar' => zeroes(23,45),
14 };
15 store $hash, 'perlhash.dat';
16
18 "Storable" implements object persistence for Perl data structures that
19 can contain arbitrary Perl objects. This module implements the relevant
20 methods to be able to store and retrieve piddles via Storable.
21
23 store
24 store a piddle using Storable
25
26 $a = random 12,10;
27 $a->store('myfile');
28
29 freeze
30 freeze a piddle using Storable
31
32 $a = random 12,10;
33 $frozen = $a->freeze;
34
36 Copyright (C) 2013 Dima Kogan <dima@secretsauce.net> Copyright (C) 2002
37 Christian Soeller <c.soeller@auckland.ac.nz> All rights reserved. There
38 is no warranty. You are allowed to redistribute this software /
39 documentation under certain conditions. For details, see the file
40 COPYING in the PDL distribution. If this file is separated from the PDL
41 distribution, the copyright notice should be included in the file.
42
43
44
45perl v5.28.0 2018-07-23 Storable(3)