diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-04 11:25:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-04 11:25:38 +0000 |
commit | 4294365db5d78909ae5a490e0714db379502cd80 (patch) | |
tree | bf5a2fc9c439651279429dac93a6666447709012 /URPM.pm | |
parent | e5fdf9e289f02f44b163fd9a063b1e7f2880469a (diff) | |
download | perl-URPM-4294365db5d78909ae5a490e0714db379502cd80.tar perl-URPM-4294365db5d78909ae5a490e0714db379502cd80.tar.gz perl-URPM-4294365db5d78909ae5a490e0714db379502cd80.tar.bz2 perl-URPM-4294365db5d78909ae5a490e0714db379502cd80.tar.xz perl-URPM-4294365db5d78909ae5a490e0714db379502cd80.zip |
- add traverse_tag_find()
Diffstat (limited to 'URPM.pm')
-rw-r--r-- | URPM.pm | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -453,6 +453,12 @@ $names is a reference to an array, holding the acceptable values of the said tag for the searched variables. Then, $callback is called for each matching package in the DB. +=item $db->traverse_tag_find($tag,$name,$callback) + +Quite similar to C<traverse_tag>, but stops when $callback returns true. + +(also note that only one $name is handled) + =item $db->create_transaction($prefix) Creates and returns a new transaction (an C<URPM::Transaction> object) on the |