Commit 7b2e7f63 authored by Rene Mayorga's avatar Rene Mayorga

[svn-upgrade] Integrating new upstream version, libdata-serializer-perl (0.48)

parent 224d88de
Revision history for Perl extension Data::Serializer Revision history for Perl extension Data::Serializer
0.46 Wedn Apr 23 2008 0.48 Tue Aug 20 2008
- Cleaned up DESTROY method to not undef _fields (This was my error, not the submitted patch)
Thanks to Dulaunoy Fabrice <fabrice@dulaunoy.com> for showing me the error of my ways
0.47 Tue Aug 19 2008
- Added explicit DESTROY method to prevent memory leaks in long running applications with circular references
patch supplied by Dulaunoy Fabrice <fabrice@dulaunoy.com>
0.46 Wed Apr 23 2008
- Fixed Module::Build implementation, will now generate proper META.yml file - Fixed Module::Build implementation, will now generate proper META.yml file
0.45 Wedn Apr 23 2008 0.45 Wed Apr 23 2008
- Removed support for Tie::Transient, the module is long gone. If ever a standard - Removed support for Tie::Transient, the module is long gone. If ever a standard
emerges for tagging data as transient then Data::Serializer will support it. emerges for tagging data as transient then Data::Serializer will support it.
- Added utf8 call to Data::Serializer::JSON - Added utf8 call to Data::Serializer::JSON
......
--- ---
name: Data-Serializer name: Data-Serializer
version: 0.46 version: 0.48
author: author:
- Neil Neely (neil@neely.cx) - Neil Neely (neil@neely.cx)
abstract: Modules that serialize data structures abstract: Modules that serialize data structures
...@@ -39,7 +39,7 @@ recommends: ...@@ -39,7 +39,7 @@ recommends:
provides: provides:
Data::Serializer: Data::Serializer:
file: lib/Data/Serializer.pm file: lib/Data/Serializer.pm
version: 0.46 version: 0.48
Data::Serializer::Config::General: Data::Serializer::Config::General:
file: lib/Data/Serializer/Config/General.pm file: lib/Data/Serializer/Config/General.pm
version: 0.02 version: 0.02
......
...@@ -19,7 +19,7 @@ require Exporter; ...@@ -19,7 +19,7 @@ require Exporter;
@EXPORT = qw( ); @EXPORT = qw( );
@EXPORT_OK = qw( ); @EXPORT_OK = qw( );
$VERSION = '0.46'; $VERSION = '0.48';
# Preloaded methods go here. # Preloaded methods go here.
{ {
...@@ -193,8 +193,14 @@ $VERSION = '0.46'; ...@@ -193,8 +193,14 @@ $VERSION = '0.46';
$_internal{$id}->{loaded_modules}->{$module_name} = 1; $_internal{$id}->{loaded_modules}->{$module_name} = 1;
} }
sub DESTROY {
my $self = (shift);
undef %_internal;
}
} }
#END of public functions, all following functions are for internal use only #END of public functions, all following functions are for internal use only
...@@ -449,6 +455,11 @@ Trips an exception if it is unable to write to the specified file. ...@@ -449,6 +455,11 @@ Trips an exception if it is unable to write to the specified file.
Reads first line of supplied file or filehandle and returns it deserialized. Reads first line of supplied file or filehandle and returns it deserialized.
=item B<DESTROY> - force the destruction of the serilaizer object
$obj->DESTROY();
=back =back
=head1 AUTHOR =head1 AUTHOR
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment