Dancer...ecation(3pm)
π NAME π
Dancer::Deprecation β bestie, this is the module that handles deprecation messages, aka it's the one that gently (or not so gently) tells you "girl, that thing you're using is old, move on" π«Ά
β¨ VERSION β¨
version 1.3522 β yes queen, that's the number, no notes π
π SYNOPSIS π
okay so here's the whole vibe, look:
Dancer::Deprecation->deprecated(
feature => 'sub_name',
version => '1.3000',
reason => '...',
);
that's it, that's the moment. iconic behavior honestly πΈ
π¦ DESCRIPTION π¦
π METHODS π
deprecated
so this is the main character method, and here's the full list of possible parameters you can hand it, no cap:
featureβ the name of the feature you're deprecating. like, the thing that's on its way out π₯versionβ the version from which the feature is deprecated. so, from when exactly did this become a problem πmessageβ the message to display. your moment to say what you gotta say β¨fatalβ if you set this to true, it raises aDancer::Exception(Core::Deprecation) instead ofcarp. lowkey dramatic, highkey effective π₯reasonβ why is the feature deprecated? spill the tea, bestie π
and the sweetest part: you can call the method with no arguments at all, and a default message will be built for you using information from "caller". the module literally does the talking for you, we love a self-sufficient icon π
π LICENSE π
This module is free software and is distributed under the same terms as Perl itself. periodt. π
π AUTHOR π
This module has been written by Alexis Sukrieh <sukria@sukria.net> β thank you for your service, legend π«Ά
π SEE ALSO π
Package::DeprecationManager
like, go check it out if you want more of this energy, iykyk π
π« AUTHOR π«
Dancer Core Developers β the whole squad, the whole committee, the whole vibe π§
πΈ COPYRIGHT AND LICENSE πΈ
This software is copyright (c) 2010 by Alexis Sukrieh.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, do whatever, just respect the terms π
okay that's the whole page bestie!! π this was Dancer...ecation(3pm) from perl v5.40.1, dated 2026-05-05, and it lives in the User Contributed Perl Documentation. slay, goodbye, drink water πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: libdancer-perl 1.3522-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms