projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d8b737
)
Basis-Module ("Encode") normal mit "use" laden
author
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 27 Aug 2012 09:07:53 +0000
(11:07 +0200)
committer
Moritz Bunkus
<m.bunkus@linet-services.de>
Mon, 27 Aug 2012 09:07:53 +0000
(11:07 +0200)
SL/LxOfficeConf.pm
patch
|
blob
|
history
diff --git
a/SL/LxOfficeConf.pm
b/SL/LxOfficeConf.pm
index
3cd462c
..
89dbfde
100644
(file)
--- a/
SL/LxOfficeConf.pm
+++ b/
SL/LxOfficeConf.pm
@@
-2,15
+2,14
@@
package SL::LxOfficeConf;
use strict;
+use Encode;
+
my $environment_initialized;
sub safe_require {
my ($class, $may_fail);
- my $failed;
- $failed = !eval {
- require Config::Std;
- require Encode;
- };
+
+ my $failed = !eval { require Config::Std; };
if ($failed) {
if ($may_fail) {
@@
-22,7
+21,6
@@
sub safe_require {
}
Config::Std->import;
- Encode->import;
return 1;
}