Query: search::gin::query::class
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Search::GIN::Query::Class(3pm) User Contributed Perl Documentation Search::GIN::Query::Class(3pm)NAMESearch::GIN::Query::Class - Create class-based GIN queriesVERSIONversion 0.08SYNOPSISuse Search::GIN::Query::Class; my $query = Search::GIN::Query::Class->new( class => 'Person', );DESCRIPTIONCreates a class-based GIN query that can be used to search records in a storage. This is a ready-to-use query that uses class definitions (specifically "class", "does" and "blessed") to search through the storage.METHODS/SUBROUTINES new Creates a new query.ATTRIBUTESclass The class of the object you want to find. my $query = Search::GIN::Query::Class->new( class => 'Person', ); does A role consumed by the object you want to find. my $query = Search::GIN::Query::Class->new( does => 'TheMonkey', ); blessed The name of the package that the object is blessed into. my $query = Search::GIN::Query::Class->new( blessed => 'Person', );AUTHORYuval Kogman <nothingmuch@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2010 by Yuval Kogman, Infinity Interactive. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.10.1 2011-01-31 Search::GIN::Query::Class(3pm)