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 a Dancer::Exception (Core::Deprecation) instead of carp. 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 🧚

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