DOKK / manpages / debian 11 / pdl / PDL::IO::Storable.3pm.en
Storable(3pm) User Contributed Perl Documentation Storable(3pm)

PDL::IO::Storable - helper functions to make PDL usable with Storable

  use Storable;
  use PDL::IO::Storable;
  $hash = {
            'foo' => 42,
            'bar' => zeroes(23,45),
          };
  store $hash, 'perlhash.dat';

"Storable" implements object persistence for Perl data structures that can contain arbitrary Perl objects. This module implements the relevant methods to be able to store and retrieve piddles via Storable.

store a piddle using Storable

  $x = random 12,10;
  $x->store('myfile');

freeze a piddle using Storable

  $x = random 12,10;
  $frozen = $x->freeze;

Copyright (C) 2013 Dima Kogan <dima@secretsauce.net> Copyright (C) 2002 Christian Soeller <c.soeller@auckland.ac.nz> All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.

2020-11-19 perl v5.32.0