Storable.pm (PDL-2.074) | : | Storable.pm (PDL-2.075) | ||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
our %EXPORT_TAGS = (Func=>\@EXPORT_OK); | our %EXPORT_TAGS = (Func=>\@EXPORT_OK); | |||
use PDL::Core; | use PDL::Core; | |||
use PDL::Exporter; | use PDL::Exporter; | |||
use DynaLoader; | use DynaLoader; | |||
our @ISA = ( 'PDL::Exporter','DynaLoader' ); | our @ISA = ( 'PDL::Exporter','DynaLoader' ); | |||
push @PDL::Core::PP, __PACKAGE__; | push @PDL::Core::PP, __PACKAGE__; | |||
bootstrap PDL::IO::Storable ; | bootstrap PDL::IO::Storable ; | |||
#line 2 "storable.pd" | #line 1 "storable.pd" | |||
=head1 NAME | =head1 NAME | |||
PDL::IO::Storable - helper functions to make PDL usable with Storable | PDL::IO::Storable - helper functions to make PDL usable with Storable | |||
=head1 SYNOPSIS | =head1 SYNOPSIS | |||
use Storable; | use Storable; | |||
use PDL::IO::Storable; | use PDL::IO::Storable; | |||
$hash = { | $hash = { | |||
skipping to change at line 45 | skipping to change at line 45 | |||
C<Storable> implements object persistence for Perl data structures that can | C<Storable> implements object persistence for Perl data structures that can | |||
contain arbitrary Perl objects. This module implements the relevant methods to | contain arbitrary Perl objects. This module implements the relevant methods to | |||
be able to store and retrieve ndarrays via Storable. | be able to store and retrieve ndarrays via Storable. | |||
=head1 FUNCTIONS | =head1 FUNCTIONS | |||
=cut | =cut | |||
use strict; | use strict; | |||
use warnings; | use warnings; | |||
#line 57 "Storable.pm" | #line 58 "Storable.pm" | |||
#line 74 "storable.pd" | #line 73 "storable.pd" | |||
{ package # hide from PAUSE | { package # hide from PAUSE | |||
PDL; | PDL; | |||
use Carp; | use Carp; | |||
# routines to make PDL work with Storable >= 1.03 | # routines to make PDL work with Storable >= 1.03 | |||
# pdlpack() serializes an ndarray, while pdlunpack() unserializes it. Earlier | # pdlpack() serializes an ndarray, while pdlunpack() unserializes it. Earlier | |||
# versions of PDL didn't control for endianness, type sizes and enumerated type | # versions of PDL didn't control for endianness, type sizes and enumerated type | |||
# values; this made stored data unportable across different architectures and | # values; this made stored data unportable across different architectures and | |||
# PDL versions. This is no longer the case, but the reading code is still able | # PDL versions. This is no longer the case, but the reading code is still able | |||
skipping to change at line 324 | skipping to change at line 324 | |||
Copyright (C) 2013 Dima Kogan <dima@secretsauce.net> | Copyright (C) 2013 Dima Kogan <dima@secretsauce.net> | |||
Copyright (C) 2002 Christian Soeller <c.soeller@auckland.ac.nz> | Copyright (C) 2002 Christian Soeller <c.soeller@auckland.ac.nz> | |||
All rights reserved. There is no warranty. You are allowed | All rights reserved. There is no warranty. You are allowed | |||
to redistribute this software / documentation under certain | to redistribute this software / documentation under certain | |||
conditions. For details, see the file COPYING in the PDL | conditions. For details, see the file COPYING in the PDL | |||
distribution. If this file is separated from the PDL distribution, | distribution. If this file is separated from the PDL distribution, | |||
the copyright notice should be included in the file. | the copyright notice should be included in the file. | |||
=cut | =cut | |||
#line 341 "Storable.pm" | #line 343 "Storable.pm" | |||
# Exit with OK status | # Exit with OK status | |||
1; | 1; | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added |