r24479 - in /branches/upstream/libdata-serializer-perl/current: Changes META.yml lib/Data/Serializer.pm
rmayorga-guest at users.alioth.debian.org
rmayorga-guest at users.alioth.debian.org
Fri Aug 22 16:49:21 UTC 2008
Author: rmayorga-guest
Date: Fri Aug 22 16:49:19 2008
New Revision: 24479
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=24479
Log:
[svn-upgrade] Integrating new upstream version, libdata-serializer-perl (0.48)
Modified:
branches/upstream/libdata-serializer-perl/current/Changes
branches/upstream/libdata-serializer-perl/current/META.yml
branches/upstream/libdata-serializer-perl/current/lib/Data/Serializer.pm
Modified: branches/upstream/libdata-serializer-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-serializer-perl/current/Changes?rev=24479&op=diff
==============================================================================
--- branches/upstream/libdata-serializer-perl/current/Changes (original)
+++ branches/upstream/libdata-serializer-perl/current/Changes Fri Aug 22 16:49:19 2008
@@ -1,9 +1,17 @@
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 at 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 at dulaunoy.com>
+
+0.46 Wed Apr 23 2008
- 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
emerges for tagging data as transient then Data::Serializer will support it.
- Added utf8 call to Data::Serializer::JSON
Modified: branches/upstream/libdata-serializer-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-serializer-perl/current/META.yml?rev=24479&op=diff
==============================================================================
--- branches/upstream/libdata-serializer-perl/current/META.yml (original)
+++ branches/upstream/libdata-serializer-perl/current/META.yml Fri Aug 22 16:49:19 2008
@@ -1,6 +1,6 @@
---
name: Data-Serializer
-version: 0.46
+version: 0.48
author:
- Neil Neely (neil at neely.cx)
abstract: Modules that serialize data structures
@@ -39,7 +39,7 @@
provides:
Data::Serializer:
file: lib/Data/Serializer.pm
- version: 0.46
+ version: 0.48
Data::Serializer::Config::General:
file: lib/Data/Serializer/Config/General.pm
version: 0.02
Modified: branches/upstream/libdata-serializer-perl/current/lib/Data/Serializer.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libdata-serializer-perl/current/lib/Data/Serializer.pm?rev=24479&op=diff
==============================================================================
--- branches/upstream/libdata-serializer-perl/current/lib/Data/Serializer.pm (original)
+++ branches/upstream/libdata-serializer-perl/current/lib/Data/Serializer.pm Fri Aug 22 16:49:19 2008
@@ -19,7 +19,7 @@
@EXPORT = qw( );
@EXPORT_OK = qw( );
-$VERSION = '0.46';
+$VERSION = '0.48';
# Preloaded methods go here.
{
@@ -193,7 +193,13 @@
$_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
@@ -448,6 +454,11 @@
my $ref = $obj->retrieve($fh);
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
More information about the Pkg-perl-cvs-commits
mailing list