=head1 VERSION
-Version 0.06
+Version 0.07
=cut
-our $VERSION = '0.06';
+our $VERSION = '0.07';
=head1 SYNOPSIS
$callers = int $callers;
my $vg = Test::Valgrind::Suppressions::VG_PATH;
if (!$vg || !-x $vg) {
- for (split /:/, $ENV{PATH}) {
+ require Config;
+ for (split /$Config::Config{path_sep}/, $ENV{PATH}) {
$_ .= '/valgrind';
if (-x) {
$vg = $_;
}
}
+END {
+ if ($run and eval { require DynaLoader; 1 }) {
+ for (@DynaLoader::dl_librefs) {
+ next unless defined;
+ undef $_ if DynaLoader::dl_unload_file($_);
+ }
+ }
+}
+
=head1 CAVEATS
You can't use this module to test code given by the C<-e> command-line switch.
Vincent Pit, C<< <perl at profvince.com> >>, L<http://www.profvince.com>.
-You can contact me by mail or on #perl @ FreeNode (vincent or Prof_Vince).
+You can contact me by mail or on C<irc.perl.org> (vincent).
=head1 BUGS