Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
OrePAN2::Index(3)     User Contributed Perl Documentation    OrePAN2::Index(3)

NAME
       OrePAN2::Index -	Index

DESCRIPTION
       This is a module	to manipulate 02packages.details.txt.

METHODS
       "my $index = OrePAN2::Index->new(%attr)"
       "$index->load($filename)"
	   Load	an existing 02.packages.details.txt

       "my ($version, $path) = $index->lookup($package)"
	   Perform a package lookup on the index.

       "$index->delete_index($package)"
	   Delete a package from the index.

       "$index->add_index($package, $version, $path)"
	   Add a new entry to the index.

       "$index->as_string()"
	   Returns the content of the index as a string.  Some of the index
	   metadata can	cause merge conflicts when multiple developers are
	   working on the same project.	 You can avoid this problem by using a
	   paring down the metadata.  "simple" defaults	to 0.

	       $index->as_string( simple => 1 );

	   Make	index as string.

perl v5.32.0			  2015-07-14		     OrePAN2::Index(3)

NAME | DESCRIPTION | METHODS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=OrePAN2::Index&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help