diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-23 01:37:05 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-07-23 01:37:05 +0000 |
commit | 1bf29c3c503679fd86ac8a39d3fb5411b8f66066 (patch) | |
tree | 83c60c65d99aa4388ff7fede9022577271a1613a /urpm.pm | |
parent | 22ff7d6aefd8ad6cd9d72c825030189187a9d4cc (diff) | |
download | urpmi-1bf29c3c503679fd86ac8a39d3fb5411b8f66066.tar urpmi-1bf29c3c503679fd86ac8a39d3fb5411b8f66066.tar.gz urpmi-1bf29c3c503679fd86ac8a39d3fb5411b8f66066.tar.bz2 urpmi-1bf29c3c503679fd86ac8a39d3fb5411b8f66066.tar.xz urpmi-1bf29c3c503679fd86ac8a39d3fb5411b8f66066.zip |
Debug help
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -17,6 +17,14 @@ use URPM; use URPM::Resolve; use POSIX; +BEGIN { + # this won't work in 5.10 when encoding::warnings will be lexical + if ($ENV{DEBUG_URPMI}) { + require encoding::warnings; + encoding::warnings->import(); + } +} + #- create a new urpm object. sub new { my ($class) = @_; |