1Dancer::Deprecation(3)User Contributed Perl DocumentationDancer::Deprecation(3)
2
3
4

NAME

6       Dancer::Deprecation - handle deprecation messages
7

VERSION

9       version 1.3513
10

SYNOPSIS

12         Dancer::Deprecation->deprecated(
13           feature => 'sub_name',
14           version => '1.3000',
15           reason  => '...',
16         );
17

DESCRIPTION

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

LICENSE

35       This module is free software and is distributed under the same terms as
36       Perl itself.
37

AUTHOR

39       This module has been written by Alexis Sukrieh <sukria@sukria.net>
40

SEE ALSO

42       Package::DeprecationManager
43

AUTHOR

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.30.1                      2020-02-05            Dancer::Deprecation(3)
Impressum