aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-04-07 10:07:18 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2006-04-07 10:07:18 +0000
commit11349f671efe63aa68cd5037e40c191135f3881d (patch)
treee94eb748fab01cc3716a0d8f27f27ce1fba1ad10 /URPM.pm
parent65c5de8cefa0bda0a397610e4e92d536aa959904 (diff)
downloadperl-URPM-11349f671efe63aa68cd5037e40c191135f3881d.tar
perl-URPM-11349f671efe63aa68cd5037e40c191135f3881d.tar.gz
perl-URPM-11349f671efe63aa68cd5037e40c191135f3881d.tar.bz2
perl-URPM-11349f671efe63aa68cd5037e40c191135f3881d.tar.xz
perl-URPM-11349f671efe63aa68cd5037e40c191135f3881d.zip
Add function to traverse transactions
Diffstat (limited to 'URPM.pm')
-rw-r--r--URPM.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index c7dd62d..33d1618 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -672,6 +672,11 @@ Recognized options are:
They roughly correspond to command-line options to rpm(1).
+=item $trans->traverse($callback)
+
+Executes the specified callback (a code reference) for each package in the
+transaction, passing a C<URPM::Package> object as argument the callback.
+
=back
=head2 Macro handling functions