Linux.pl
Opcje wyszukiwania podręcznika man:
Lista stron man zaczynających się od znaku:
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z   ALPHA   NUM   OTHER   ALL
Dpkg::Control::Info(3)           libdpkg-perl           Dpkg::Control::Info(3)

NAME
       Dpkg::Control::Info - parse files like debian/control

DESCRIPTION
       It provides an object to access data of files that follow the same
       syntax as debian/control.

FUNCTIONS
       $c = Dpkg::Control::Info->new($file)
           Create a new Dpkg::Control::Info object for $file. If $file is
           omitted, it loads debian/control. If file is "-", it parses the
           standard input.

       $c->reset()
           Resets what got read.

       $c->load($file)
           Load the content of $file. Exits in case of errors. If file is "-",
           it loads from the standard input.

       $c->parse($fh, $description)
           Parse a control file from the given filehandle. Exits in case of
           errors.  $description is used to describe the filehandle, ideally
           it's a filename or a description of where the data comes from. It's
           used in error messages.

       $c->[0]
       $c->get_source()
           Returns a Dpkg::Control object containing the fields concerning the
           source package.

       $c->get_pkg_by_idx($idx)
           Returns a Dpkg::Control object containing the fields concerning the
           binary package numbered $idx (starting at 1).

       $c->get_pkg_by_name($name)
           Returns a Dpkg::Control object containing the fields concerning the
           binary package named $name.

       $c->get_packages()
           Returns a list containing the Dpkg::Control objects for all binary
           packages.

       $c->output($filehandle)
           Dump the content into a filehandle.

       "$c"
           Return a string representation of the content.

       @{$c}
           Return a list of Dpkg::Control objects, the first one is
           corresponding to source information and the following ones are the
           binary packages information.

CHANGES
   Version 1.00
       Mark the module as public.

AUTHOR
       Raphael Hertzog <hertzog@debian.org>.

1.17.27                           2016-04-25            Dpkg::Control::Info(3)

Czas wygenerowania: 0.00050 sek.


Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson

Copyright © 2003-2023 Linux.pl
Hosted by Hosting Linux.pl