From 20fe642549f136f58ee2c285b89c7446e808d3ee Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Thu, 26 Apr 2007 18:47:09 +0000 Subject: * use Carp::Heavy explicitly in order to avoid problems with dynamic loading later, in case of being chrooted. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@932 95ad53e4-c205-0410-b2fa-d234c58c8868 --- lib/OpenSLX/Basics.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/OpenSLX/Basics.pm') diff --git a/lib/OpenSLX/Basics.pm b/lib/OpenSLX/Basics.pm index 9fa33813..3159afa0 100644 --- a/lib/OpenSLX/Basics.pm +++ b/lib/OpenSLX/Basics.pm @@ -33,6 +33,11 @@ use vars qw(%openslxConfig %cmdlineConfig); ### Module implementation ################################################################################ use Carp; +use Carp::Heavy; + # use it here to have it loaded immediately, not at the time when + # carp() is being invoked (which might be at a point in time where + # the script executes in a chrooted environment, such that the module + # can't be loaded anymore). use FindBin; use Getopt::Long; use POSIX qw(locale_h); @@ -350,4 +355,4 @@ sub die } } -1; \ No newline at end of file +1; -- cgit v1.2.3-55-g7522