]> 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 6bcd078fe48accb09a0a2a939699f562db17884c..97408ad829ad148b01bf02a889a5c196d0ece2ab 100644 (file)
@@ -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.