X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=blobdiff_plain;f=videosite-dl.pl;h=594b020680704b81be1dfd506ff80bb00b3d1f3a;hp=1225b925904f5a7e4bbdec7e91726427f3e199bb;hb=3255f6f448ae2e392871dc5241536b0dfb009a59;hpb=be05dcdf1f43ba575a3b2edf7970cba250ff28e2 diff --git a/videosite-dl.pl b/videosite-dl.pl index 1225b92..594b020 100755 --- a/videosite-dl.pl +++ b/videosite-dl.pl @@ -6,6 +6,9 @@ use File::Spec; use File::Basename; use Module::Load; use Cwd qw(realpath); +use Carp; + +$SIG{ __DIE__ } = sub { Carp::confess( @_ ) }; my $info = 0; my $debug = 0;