logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Fennec::Util - Utility functions

Api Stability

       Fennec  versions  below  1.000  were  considered  experimental,  and the API was subject to change. As of
       version 1.0 the API is considered stabilized. New versions may  add  functionality,  but  not  remove  or
       significantly alter existing functionality.

Authors

       Chad Granum exodist7@gmail.com

Description

       This class provides useful utility functions used all over Fennec.

Exports

       require_module( 'Some::Module' )
           Can be used to load modules stored in strings.

       inject_sub( $package, $name, $code )
           Inject a sub into a package.

       accessors( @attributes )
           Generate basic accessors for the given attributes into the calling package.

       @call = get_test_call()
           Look back through the stack and find the last call that took place in a test class.

Name

       Fennec::Util - Utility functions

See Also