]> git.vpit.fr Git - perl/modules/rgit.git/blobdiff - lib/App/Rgit/Guard.pm
Make sure the POD headings are linkable
[perl/modules/rgit.git] / lib / App / Rgit / Guard.pm
index d85e8df7c16bcb9f4cee3362553b61d8df196792..97408ad829ad148b01bf02a889a5c196d0ece2ab 100644 (file)
@@ -9,11 +9,11 @@ App::Rgit::Guard - Scope guard helper for App::Rgit.
 
 =head1 VERSION
 
-Version 0.06
+Version 0.08
 
 =cut
 
-our $VERSION = '0.06';
+our $VERSION = '0.08';
 
 =head1 DESCRIPTION
 
@@ -23,7 +23,9 @@ This is an internal module to L<rgit>.
 
 =head1 METHODS
 
-=head2 C<new $callback>
+=head2 C<new>
+
+    my $guard = App::Rgit::Guard->new($callback);
 
 Creates a new C<App::Rgit::Guard> object that will call C<$callback> when it is destroyed.