r54817 - in /trunk/libscope-guard-perl: Changes META.yml README debian/changelog debian/control debian/copyright lib/Scope/Guard.pm
franck at users.alioth.debian.org
franck at users.alioth.debian.org
Sat Mar 27 11:46:34 UTC 2010
Author: franck
Date: Sat Mar 27 11:46:28 2010
New Revision: 54817
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=54817
Log:
* New upstream release
+ Fixed broken link in README file which points to documentation.
Updated d.control to fix that link.
* Added /me to Uploaders. (Updated both d.control and d.copyright
accordingly)
Modified:
trunk/libscope-guard-perl/Changes
trunk/libscope-guard-perl/META.yml
trunk/libscope-guard-perl/README
trunk/libscope-guard-perl/debian/changelog
trunk/libscope-guard-perl/debian/control
trunk/libscope-guard-perl/debian/copyright
trunk/libscope-guard-perl/lib/Scope/Guard.pm
Modified: trunk/libscope-guard-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/Changes?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/Changes (original)
+++ trunk/libscope-guard-perl/Changes Sat Mar 27 11:46:28 2010
@@ -1,4 +1,7 @@
Revision history for Perl extension Scope::Guard.
+
+0.12 Fri Mar 26 19:12:11 2010
+ - fix link in README (thanks Franck Joncourt)
0.11 Thu Mar 25 22:08:05 2010
- doc tweak
Modified: trunk/libscope-guard-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/META.yml?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/META.yml (original)
+++ trunk/libscope-guard-perl/META.yml Sat Mar 27 11:46:28 2010
@@ -1,7 +1,7 @@
--- #YAML:1.0
name: Scope-Guard
-version: 0.11
-abstract: lexically scoped resource management
+version: 0.12
+abstract: lexically-scoped resource management
author:
- chocolateboy <chocolate at cpan.org>
license: unknown
Modified: trunk/libscope-guard-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/README?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/README (original)
+++ trunk/libscope-guard-perl/README Sat Mar 27 11:46:28 2010
@@ -1,4 +1,4 @@
-Scope-Guard version 0.11
+Scope-Guard version 0.12
========================
This module provides a convenient way to perform cleanup or other forms of resource
@@ -8,7 +8,7 @@
lexically-scoped "promises" to be made that are automatically honoured by perl's garbage
collector.
-For more information, see: http://www.cuj.com/documents/s=8000/cujcexp1812alexandr/
+For more information, see: http://www.drdobbs.com/cpp/184403758
INSTALLATION
Modified: trunk/libscope-guard-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/debian/changelog?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/debian/changelog (original)
+++ trunk/libscope-guard-perl/debian/changelog Sat Mar 27 11:46:28 2010
@@ -1,3 +1,13 @@
+libscope-guard-perl (0.12-1) UNRELEASED; urgency=low
+
+ * New upstream release
+ + Fixed broken link in README file which points to documentation.
+ Updated d.control to fix that link.
+ * Added /me to Uploaders. (Updated both d.control and d.copyright
+ accordingly)
+
+ -- Franck Joncourt <franck at debian.org> Sat, 27 Mar 2010 12:41:38 +0100
+
libscope-guard-perl (0.11-1) UNRELEASED; urgency=low
TODO:
Modified: trunk/libscope-guard-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/debian/control?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/debian/control (original)
+++ trunk/libscope-guard-perl/debian/control Sat Mar 27 11:46:28 2010
@@ -7,7 +7,8 @@
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>,
gregor herrmann <gregoa at debian.org>,
- Ansgar Burchardt <ansgar at 43-1.org>
+ Ansgar Burchardt <ansgar at 43-1.org>,
+ Franck Joncourt <franck at debian.org>
Standards-Version: 3.8.4
Homepage: http://search.cpan.org/dist/Scope-Guard/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libscope-guard-perl/
@@ -25,6 +26,5 @@
This effectively allows lexically-scoped "promises" to be made that are
automatically honoured by perl's garbage collector.
.
- For more information, see:
- http://www.cuj.com/documents/s=8000/cujcexp1812alexandr/
-
+ For more information, see:
+ http://www.drdobbs.com/cpp/184403758
Modified: trunk/libscope-guard-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/debian/copyright?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/debian/copyright (original)
+++ trunk/libscope-guard-perl/debian/copyright Sat Mar 27 11:46:28 2010
@@ -11,6 +11,7 @@
Copyright: 2007, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
2008, gregor herrmann <gregor+debian at comodo.priv.at>
2010, Ansgar Burchardt <ansgar at 43-1.org>
+ 2010, Franck Joncourt <franck at debian.org>
License: Artistic or GPL-1+
License: Artistic
Modified: trunk/libscope-guard-perl/lib/Scope/Guard.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libscope-guard-perl/lib/Scope/Guard.pm?rev=54817&op=diff
==============================================================================
--- trunk/libscope-guard-perl/lib/Scope/Guard.pm (original)
+++ trunk/libscope-guard-perl/lib/Scope/Guard.pm Sat Mar 27 11:46:28 2010
@@ -7,7 +7,7 @@
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(guard scope_guard);
-our $VERSION = '0.11';
+our $VERSION = '0.12';
sub new {
my $class = shift;
@@ -45,7 +45,7 @@
=head1 NAME
-Scope::Guard - lexically scoped resource management
+Scope::Guard - lexically-scoped resource management
=head1 SYNOPSIS
@@ -83,7 +83,7 @@
my $guard = Scope::Guard->new(\&handler);
The C<new> method creates a new C<Scope::Guard> object which calls the supplied handler when its C<DESTROY> method is
-called, typically when it goes out of scope.
+called, typically at the end of the scope.
=head2 dismiss
@@ -122,14 +122,14 @@
managed e.g.
guard {
- unless ($resource->disposed) {
- $resource->dispose;
+ if ($resource->locked) {
+ $resource->unlock;
}
};
=head2 scope_guard
-C<scope_guard> is the same as C<guard>, but it takes a scalar (e.g. a code ref) rather than a block.
+C<scope_guard> is the same as C<guard>, but it takes a code ref rather than a block.
e.g.
my $guard = scope_guard \&handler;
@@ -146,7 +146,7 @@
=head1 VERSION
-0.11
+0.12
=head1 SEE ALSO
@@ -170,6 +170,8 @@
=item * L<Sub::ScopeFinalizer|Sub::ScopeFinalizer>
+=item * L<Value::Canary|Value::Canary>
+
=back
=head1 AUTHOR
More information about the Pkg-perl-cvs-commits
mailing list