Dancer::Deprecation(3pm)

Dancer::Deprecation3pm

Handle deprecation messages

Usage

  Dancer::Deprecation->deprecated(
    feature => 'sub_name',
    version => '1.3000',
    reason  => '...',
  );

Version

version 1.3521

Overview

Methods

deprecated

List of possible parameters:

feature name of the feature to deprecate
version from which version the feature is deprecated
message message to display
fatal if set to true, raises a Dancer::Exception (Core::Deprecation) instead of carp
reason why is the feature deprecated

You can call the method with no arguments, and a default message using information from "caller" will be built for you.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12–13

License

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

Author

This module has been written by Alexis Sukrieh <[email protected]>

Author

Dancer Core Developers

From libdancer-perl 1.3521+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.