Perl::...ormats(3pm)

πŸ’– NAME πŸ’–

Perl::Critic::Policy::Miscellanea::ProhibitFormats β€” okay bestie, this is the policy whose whole vibe is do not use format. This page lives in Perl::...ormats(3pm), User Contributed Perl Documentation, and we're gonna get into it.

🌸 AFFILIATION 🌸

This Policy is part of the core Perl::Critic distribution. Periodt.

✨ DESCRIPTION ✨

Formats are literally one of the oldest features of Perl. But ngl, they have some limitations, and we're not ignoring them.

  • Formats are static and cannot be easily defined at run time.
  • Also, formats depend on several obscure global variables.

For more modern reporting tools, consider using one of the template frameworks like Template or try the Perl6::Form module. The way that's such a glow-up.

πŸŽ€ CONFIGURATION πŸŽ€

This Policy is not configurable except for the standard options. That's the whole tea. πŸ«–

πŸ‘‘ AUTHOR πŸ‘‘

Jeffrey Ryan Thalhammer <jeff@imaginative-software.com>

Copyright (c) 2005-2011 Imaginative Software Systems. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.


And that's the page, bestie πŸ’… β€” source/version vibes: perl v5.42.0, dated 2024-10-23, from Perl::...ormats(3pm). Slay responsibly.

πŸ“¦ where this page comes from