26 Oct 2000 15:40:37 UTC
- Distribution: sol-inst
- Module version: 0.9
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (2)
- KwaliteeBus factor: 0
- License: unknown
- Activity24 month
- Download (9.46KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Solaris::Contents - Read /var/sadm/install/contents file
Solaris::Contents is an object oriented interface into the /var/sadm/install/contents file which Solaris uses to keep track of all the files installed on a system, and their corresponding packages.
No arguements are required. By default, the object always believes the contents file is /var/sadm/install/contents. The ability to change this could change with a future release.
Each of the above methods returns the specific data for a specified file entry from the contents file. Not all entries will have data specific to every method. Check the Solaris prototype man page for more information. The pkgs() method returns an array of packages related to that specific file.
The initialization time of Contents objects could take a few seconds depending on the size of the contents file.
I may add more methods to this class later on. It would be kind of neat to do more with the link entries.
Chris Josephes, email@example.com
Module Install Instructions
To install Solaris::Package, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Solaris::Package
For more information on module installation, please visit the detailed CPAN module installation guide.