Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

catalyst::controller::sru(3pm) [debian man page]

Catalyst::Controller::SRU(3pm)				User Contributed Perl Documentation			    Catalyst::Controller::SRU(3pm)

NAME
Catalyst::Controller::SRU - Dispatch SRU methods with Catalyst SYNOPSIS
package MyApp::Controller::SRU; # use it as a base controller use base qw( Catalyst::Controller::SRU ); # explain, scan and searchretrieve methods sub explain { my ( $self, $c, $sru_request, # ISA SRU::Request::Explain $sru_response, # ISA SRU::Response::Explain ) = @_; } sub scan { my ( $self, $c, $sru_request, # ISA SRU::Request::Scan $sru_response, # ISA SRU::Response::Scan $cql, # ISA CQL::Parser root node ) = @_; } sub searchRetrieve { my ( $self, $c, $sru_request, # ISA SRU::Request::SearchRetrieve $sru_response, # ISA SRU::Response::SearchRetrieve $cql, # ISA CQL::Parser root node ) = @_; } DESCRIPTION
This module allows your controller class to dispatch SRU actions ("explain", "scan", and "searchRetrieve") from its own class. METHODS
index : Private This method will create an SRU request, response and possibly a CQL object based on the type of SRU request it finds. It will then pass the data over to your customized method. SEE ALSO
o Catalyst AUTHOR
Brian Cassidy <bricas@cpan.org> COPYRIGHT AND LICENSE
Copyright 2005-2009 by Brian Cassidy This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.4 2009-12-02 Catalyst::Controller::SRU(3pm)

Check Out this Related Man Page

SRU::Response::Term(3pm)				User Contributed Perl Documentation				  SRU::Response::Term(3pm)

NAME
SRU::Response::Term - A class for representing terms in a Scan response SYNOPSIS
DESCRIPTION
A SRU::Response::Term object bundles up information about a single term contained in a SRU::Response::Scan object. A scan object can contain multiple term objects. METHODS
new() THe constructor which you must at least pass the value parameter: my $term = SRU::Response::Term->new( term => "Foo Fighter" ); In addition you can pass the numberOfRecords, displayTerm, whereInList, and extraTermData parameters, or set them separately with their accessors. value() The term exactly as it appears in the index. This term should be able to be sent in a query as is to retrieve the records it derives from. numberOfRecords() The number of records which would be matched if the index in the request's scanClause was searched with the term in the 'value' field. displayTerm() A string to display to the end user in place of the term itself. For example this might add back in stopwords which do not appear in the index, or diacritics which have been normalised. whereInList() A flag to indicate the position of the term within the complete term list. It must be one of the following values: 'first' (the first term), 'last' (the last term), 'only' (the only term) or 'inner' (any other term). extraTermData() Additional profile specific information. More details are available in the extensions section. asXML() perl v5.12.4 2009-11-20 SRU::Response::Term(3pm)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Please explain this command line ?

Please explain this command line ? wc<infile<newfile Thanx, Saneesh Joseph. (2 Replies)
Discussion started by: saneeshjose
2 Replies

2. UNIX for Dummies Questions & Answers

What does ls * do

Hi Can anyone please explain what this commands does? Thanks. (2 Replies)
Discussion started by: trivektor
2 Replies

3. UNIX for Dummies Questions & Answers

Explain the output of the command....

Explain the output of the command “sort -rfn file1 | more” (1 Reply)
Discussion started by: wickbc
1 Replies

4. Shell Programming and Scripting

What Is A Codec? Anyone

Can Anyone Explain. (2 Replies)
Discussion started by: kprescod4158
2 Replies

5. Shell Programming and Scripting

Please can any one explain this ${0##/}

I did not understand what is ${0##/} PGM=${0##/} TMP=/tmp/${PGM}.$$ Please explain me. (2 Replies)
Discussion started by: gadege
2 Replies

6. Shell Programming and Scripting

To find a character immediately following a specified String

Hello, I have a UNIX file in which data is like this -- ISA*00* *00* *01*006415160 *01*137361242 ... (3 Replies)
Discussion started by: The Observer
3 Replies

7. AIX

can anyone explain this?

this is the mksys b script.... can anyone explain .. what # and 1 in if condition this is the first line of the script... it is not from middle of the script.... if then echo "Not enough parameters, need a client name for mksysb" Usage="Usage: $0 <client name>" ... (2 Replies)
Discussion started by: honeym210
2 Replies

8. UNIX for Dummies Questions & Answers

$? means?

Hi All, Can you please explain wats the meaning of this $? in unix Thanks (2 Replies)
Discussion started by: mathur
2 Replies

9. Shell Programming and Scripting

Explain following sed syntax please

Thanks to this forum I have managed to work out a solution to my problem and actually understand most of it, but one thing is confusing me and I am sure someone here can explain. I need to insert a piece of txt into a file. This txt is awk '{ sub(/$/,"\r"); print }' $JCL_WBB50103_EFTOUT >... (2 Replies)
Discussion started by: hukcjv
2 Replies

10. Shell Programming and Scripting

Can someone please explain what tr#A-Za-z0-9+/# -_#; means in perl?

Can someone please explain what tr#A-Za-z0-9+/# -_#; means in perl? (4 Replies)
Discussion started by: 3junior
4 Replies

11. UNIX for Dummies Questions & Answers

about different redirection

explain the redirections 1>, 2>, 3>, ..... and 1< ,2<,3<..... where we use these things thanks Thread moved from AIX forum (2 Replies)
Discussion started by: tsurendra
2 Replies

12. Programming

fork(), could you explain!!

Dear friends, We are learning UNIX system programming as part of our course. I came across this simple program, which the teacher didn't explain well enough. could you please explain this program fully #include <sys/types.h> #include <stdio.h> #include <unistd.h> int main() { int pid;... (2 Replies)
Discussion started by: gabam
2 Replies

13. Shell Programming and Scripting

please explain why this ksh echo deletes character

Please explain why this works. Am unable to find another definition for the '%', which would explain this behaviour: spaceLeft=`df -h /myPartition | tail -1` # output looks like: /dev/sda5 10G 1.2G 12G 29% / set -- $space #this deletes the trailing '%' sign, which is... (6 Replies)
Discussion started by: frododot
6 Replies

14. Shell Programming and Scripting

Basic doubt in UNIX

Hi, I'm new to this and very much interested to learn unix. Can any one explain me the symbols y we use this is scripting(~ and $). It would be great if some one explain with the eg. Thanks Naveen A (2 Replies)
Discussion started by: Pranaveen
2 Replies

15. Solaris

Solaris 11 SRU latest version

Hi During a host review session I was told to check if the engineers have been updating Solaris 11 OS regularly by verifying the SRU version of the system. However i was having no luck in finding the latest SRU version number in oracle website for hours. I wonder did anyone here know where i... (4 Replies)
Discussion started by: kaze
4 Replies