Skip to content

Commit

Permalink
trying POSIX::exit instead of _exit to make sure IO is flushed
Browse files Browse the repository at this point in the history
  • Loading branch information
wo committed May 29, 2015
1 parent 34e3fce commit f0867bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions process_links.pl
Expand Up @@ -8,7 +8,7 @@
use FindBin qw($Bin);
use Cwd 'abs_path';
use File::Basename 'dirname';
use POSIX qw[ _exit ];
use POSIX qw(exit);
use DBI;
use String::Approx 'amatch';
use Digest::MD5;
Expand Down Expand Up @@ -149,7 +149,7 @@ sub leave {
Carp::confess(@abort);
}
}
POSIX::_exit($status);
POSIX::exit($status);
#exit($status);
}

Expand Down
4 changes: 2 additions & 2 deletions process_pages.pl
Expand Up @@ -4,7 +4,7 @@
use Carp;
use DBI;
use URI::URL;
use POSIX qw[ _exit ];
use POSIX qw(exit);
use HTML::LinkExtractor;
use Data::Dumper;
use Time::Piece;
Expand Down Expand Up @@ -117,7 +117,7 @@ sub leave {
Carp::confess(@abort);
}
}
POSIX::_exit($status);
POSIX::exit($status);
#exit $status;
}

Expand Down

0 comments on commit f0867bd

Please sign in to comment.