[Koha-cvs] CVS: koha/C4 MANIFEST,NONE,1.1 Makefile.PL,NONE,1.1 Search.pm,1.22,1.23

Chris Cormack rangi at users.sourceforge.net
Sat May 11 03:50:37 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv18113

Modified Files:
	Search.pm 
Added Files:
	MANIFEST Makefile.PL 
Log Message:
Starting Makefile.PL and starting work on pod inside Search.pm



--- NEW FILE ---
Makefile.PL
MANIFEST
Search.pm


--- NEW FILE ---
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
    'NAME'		=> 'C4::Search',
    'VERSION_FROM'	=> 'Search.pm', # finds $VERSION
    'PREREQ_PM'		=> {}, # e.g., Module::Name => 1.1
    ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM => 'Search.pm', # retrieve abstract from module
       AUTHOR     => 'Koha Dev Team <info at koha.org>') : ()),
);

Index: Search.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Search.pm,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -r1.22 -r1.23
*** Search.pm	9 May 2002 01:07:36 -0000	1.22
--- Search.pm	11 May 2002 01:50:35 -0000	1.23
***************
*** 14,18 ****
    
  # set the version for version checking
! $VERSION = 0.01;
      
  @ISA = qw(Exporter);
--- 14,18 ----
    
  # set the version for version checking
! $VERSION = 0.02;
      
  @ISA = qw(Exporter);
***************
*** 1170,1176 ****
--- 1170,1201 ----
  END { }       # module clean-up code here (global destructor)
  
+ =head1 NAME
  
+ C4::Search - Module that provides Catalog searching for Koha
  
+ =head1 SYNOPSIS
  
+   use C4::Search;
+   my ($count, at results)=KeywordSearch($env,$type,$search,$num,$offset);
+   my ($count, at results)=CatSearch($env,$type,$search,$num,$offset);
  
+ =head1 DESCRIPTION
  
+ This module provides the searching facilities for the Catalog.
+ Here I should go through and document each function thats exported and what it does. But I havent yet.
+ 
+ =head2 EXPORT
+ 
+ KeywordSearch
+ CatSearch
+ ItemInfo
+ 
+ =head1 AUTHOR
+ 
+ Koha Developement team <info at koha.org>
+ 
+ =head1 SEE ALSO
+ 
+ L<perl>.
+ 
+ =cut





More information about the Koha-cvs mailing list