Hdlist::Header::Dependencies - A set of dependencies
Create a new arbitrary dependencies set. $tagtype is the rpm tag {PROVIDE/REQUIRE/CONFLICT/OBSOLETE/TRIGGER}NAME.
Next arguments are array ref for each dependancy to add in the dependencies set, in form a name and optionnaly as sense flags and a version.
For example:
$d = Hdlist::Header::Dependencies->new( "REQUIRENAME" [ "rpm" ], [ "rpm", 2, "4.0" ], [ "rpm", [ qw/LESS/ ], "4.0" ] );
Return the number of dependencies contained by this set.
Move internal index to $index (0 by default).
Reset internal index and set it to -1, see next
Advance to next dependency in the set. Return FALSE if no further dependency available, TRUE otherwise.
Advance to next dependency in the set. Return -1 if no further dependency available, next index otherwise.
Return the 'color' of the current dependency in the depencies set.
Compare two dependency from two dependencies set and return TRUE if match.
Return information about current dependency from dependencies set.
Return the type of the dependencies set as a rpmtag (PROVIDENAME, REQUIRENAME, PROVIDENAME, OBSOLETENAME of TRIGGERNAME).
Return the name of dependency from dependencies set.
Return the sense flag of dependency from dependencies set.
Return the version of dependency from dependencies set.
Set or return the nopromote flags of the dependencies set.
Hdlist Hdlist::Header
To install RPM4, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RPM4
CPAN shell
perl -MCPAN -e shell install RPM4
For more information on module installation, please visit the detailed CPAN module installation guide.