1Fennec::Util(3) User Contributed Perl Documentation Fennec::Util(3)
2
3
4
6 Fennec::Util - Utility functions
7
9 This class provides useful utility functions used all over Fennec.
10
12 require_module( 'Some::Module' )
13 Can be used to load modules stored in strings.
14
15 inject_sub( $package, $name, $code )
16 Inject a sub into a package.
17
18 accessors( @attributes )
19 Generate basic accessors for the given attributes into the calling
20 package.
21
22 @call = get_test_call()
23 Look back through the stack and find the last call that took place
24 in a test class.
25
27 Fennec versions below 1.000 were considered experimental, and the API
28 was subject to change. As of version 1.0 the API is considered
29 stabilized. New versions may add functionality, but not remove or
30 significantly alter existing functionality.
31
33 Chad Granum exodist7@gmail.com
34
36 Copyright (C) 2013 Chad Granum
37
38 Fennec is free software; Standard perl license.
39
40 Fennec is distributed in the hope that it will be useful, but WITHOUT
41 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
42 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
43
44
45
46perl v5.36.0 2022-07-22 Fennec::Util(3)