aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 17:33:50 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-02-09 17:33:50 +0000
commit8c823d8ec4257a10b6980f8b1109c8a358082564 (patch)
tree83da399d7606e5b942773e6fbea3af0a3a23b4ad /URPM.pm
parentfe9d485a1db84e721c94e38ea5f36494ce4c78af (diff)
downloadperl-URPM-8c823d8ec4257a10b6980f8b1109c8a358082564.tar
perl-URPM-8c823d8ec4257a10b6980f8b1109c8a358082564.tar.gz
perl-URPM-8c823d8ec4257a10b6980f8b1109c8a358082564.tar.bz2
perl-URPM-8c823d8ec4257a10b6980f8b1109c8a358082564.tar.xz
perl-URPM-8c823d8ec4257a10b6980f8b1109c8a358082564.zip
Fix code example in URPM's synopsis
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.pm b/URPM.pm
index 88fb948..ff493c5 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -206,7 +206,7 @@ URPM - Perl module to manipulate RPM files
my $db = URPM::DB::open();
$db->traverse(sub {
my ($package) = @_; # this is a URPM::Package object
- print $package->filename, "\n";
+ print $package->name, "\n";
# ...
});