diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-06 19:43:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-06 19:43:44 +0000 |
commit | 1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb (patch) | |
tree | c5be614f327a245cde0840d50b8fdfacf2d7529c /urpm/xml_info_pkg.pm | |
parent | 1fd8be50f3a52993761b92ba90cdecc04825da37 (diff) | |
download | urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar.gz urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar.bz2 urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.tar.xz urpmi-1c44e4e5600ee7b981f6b5c8a0181e5323d50dbb.zip |
perl_checker cleanups
Diffstat (limited to 'urpm/xml_info_pkg.pm')
-rw-r--r-- | urpm/xml_info_pkg.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/xml_info_pkg.pm b/urpm/xml_info_pkg.pm index a8004987..94e96d07 100644 --- a/urpm/xml_info_pkg.pm +++ b/urpm/xml_info_pkg.pm @@ -41,7 +41,7 @@ sub version { exists $_[0]{pkg} ? $_[0]{pkg}->version : $_[0]{fn} =~ $fullname sub release { exists $_[0]{pkg} ? $_[0]{pkg}->release : $_[0]{fn} =~ $fullname_re && $3 } sub arch { exists $_[0]{pkg} ? $_[0]{pkg}->arch : $_[0]{fn} =~ $fullname_re && $4 } -sub fullname { wantarray ? $_[0]{pkg}->fullname : $_[0]{fn} } +sub fullname { wantarray() ? $_[0]{pkg}->fullname : $_[0]{fn} } sub filename { $_[0]{fn} . '.rpm' } |