=head1 VERSION
-Version 1.12
+Version 1.13
=cut
-our $VERSION = '1.12';
+our $VERSION = '1.13';
=head1 SYNOPSIS
=head1 METHODS
-=head2 C<analyse [ %options ]>
+=head2 C<analyse>
+
+ Test::Valgrind->analyse(%options);
Run a C<valgrind> analysis configured by C<%options> :
return $status;
}
-=head2 C<import [ %options ]>
+=head2 C<import>
+
+ use Test::Valgrind %options;
In the parent process, L</import> calls L</analyse> with the arguments it received itself - except that if no C<file> option was supplied, it tries to pick the first caller context that looks like a script.
When the analysis ends, it exits with the status returned by the action (for the default TAP-generator action, it's the number of failed tests).
=head1 COPYRIGHT & LICENSE
-Copyright 2008,2009,2010 Vincent Pit, all rights reserved.
+Copyright 2008,2009,2010,2011 Vincent Pit, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.