Search::Tools::Object - base class for Search::Tools objects
package MyClass; use Moo; extends 'Search::Tools::Object'; has 'foo' => ( is => 'rw' ); has 'bar' => ( is => 'rw' ); 1; # elsewhere use MyClass; my $object = MyClass->new; $object->foo(123); print $object->bar . "\n";
Search::Tools::Object is a simple Moo subclass.
Prior to version 1.00 STO was a subclass of Rose::ObjectX::CAF.
Prior to version 0.24 STO was a subclass of Class::Accessor::Fast.
debug( n )
Get/set the debug value for the object. All objects inherit this attribute. You can use the
PERL_DEBUG env var to set this value as well.
Please report any bugs or feature requests to
bug-search-tools at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Search-Tools. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
You can find documentation for this module with the perldoc command.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
Copyright 2009 by Peter Karman.
This package is free software; you can redistribute it and/or modify it under the same terms as Perl itself.