|
NAMEData::Remember::Util - common helper utilitiesVERSIONversion 0.140490SYNOPSISuse Data::Remember::Util qw( process_que init_brain ); my $clean_que = process_que($handy_que); my $brain = init_brain($name, @args); DESCRIPTIONThese are some common helper utilities used by Data::Remember::Class and some of the brain implementations. Unless you are building a custom brain, you probably don't need these.SUBROUTINESprocess_quemy $clean_que = process_que($handy_que); The format defined in "QUE" in Data::Remember::Class is very flexible. That section describes how all the flexible que formats are mapped into a canonical form. This is utility subroutine that does that clean-up process. This is performed automatically on behalf of each brain by Data::Remember::Class, so you do not normally need this if you are just implementing the usual brain functions. However, if you have custom methods that require additional features, you may want this helper. init_brainmy $brain = init_brain($module, @args); This is a helper that checks the arguments given, loads the brain class for the given module name, constructs a brain, and returns it. AUTHORAndrew Sterling Hanenkamp <hanenkamp@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2014 by Qubling Software LLC.This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Visit the GSP FreeBSD Man Page Interface. |