1Dancer::Deprecation(3)User Contributed Perl DocumentationDancer::Deprecation(3)
2
3
4
6 Dancer::Deprecation - handle deprecation messages
7
9 version 1.3521
10
12 Dancer::Deprecation->deprecated(
13 feature => 'sub_name',
14 version => '1.3000',
15 reason => '...',
16 );
17
19 METHODS
20 deprecated
21
22 List of possible parameters:
23
24 feature name of the feature to deprecate
25 version from which version the feature is deprecated
26 message message to display
27 fatal if set to true, raises a Dancer::Exception (Core::Deprecation)
28 instead of carp
29 reason why is the feature deprecated
30
31 You can call the method with no arguments, and a default message using
32 information from "caller" will be built for you.
33
35 This module is free software and is distributed under the same terms as
36 Perl itself.
37
39 This module has been written by Alexis Sukrieh <sukria@sukria.net>
40
42 Package::DeprecationManager
43
45 Dancer Core Developers
46
48 This software is copyright (c) 2010 by Alexis Sukrieh.
49
50 This is free software; you can redistribute it and/or modify it under
51 the same terms as the Perl 5 programming language system itself.
52
53
54
55perl v5.38.0 2023-07-20 Dancer::Deprecation(3)