Cataly...lRegex(3pm)

πŸ“¦
version 5.90035 Β· 2 versions
  • 5.90035 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 5.90035 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Catalyst::DispatchType::LocalRegex πŸ’–

okay bestie, so this is the LocalRegex DispatchType page β€” it lives in the Catalyst section of the Perl docs (that's the 3pm energy, iykyk) πŸ’…


✨ SYNOPSIS ✨

not gonna lie, this page keeps it mysterious:

See Catalyst::DispatchType.

like, just go read the main character over there 🫢


🌸 DESCRIPTION 🌸

πŸ’€ Status: Deprecated πŸ’€

okay so we gotta say it straight, no sugarcoating: Status: Deprecated. Regex dispatch types have been deprecated and removed from Catalyst core. it's giving "the era is over" 😭

the recommendation is that you use Chained methods or other techniques instead. periodt.

and here's a lil plot twist for you β€” as part of the refactoring, the dispatch priority of Regex vs Regexp vs LocalRegex vs LocalRegexp may have changed. priority is now influenced by when the dispatch type is first seen in your application. so, like, order matters, bestie 🌈

⚠️ when this thing gets loaded, a warning about the deprecation will be printed to STDERR. to suppress that warning, set the CATALYST_NOWARN_DEPRECATE environment variable to a true value. your logs will thank you πŸ™ˆ

πŸ¦‹ what it actually does πŸ¦‹

this dispatch type manages path-matching behaviour using regexes. iconic in theory, deprecated in practice πŸ’œ

want more info on dispatch types in general? say less, here's the reading list:

  • Catalyst::Manual::Intro for how they affect application authors πŸ‘‘
  • Catalyst::DispatchType for implementation information πŸ”₯

πŸŽ€ AUTHORS πŸŽ€

Catalyst Contributors, see Catalyst.pm β€” the whole squad, fr fr 🫢


This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. slay, open source ate πŸ’–


and that's a wrap bestie!! this was Cataly...lRegex(3pm) from the User Contributed Perl Documentation, shipped with perl v5.34.0, dated 2022-06-09. go forth and use Chained methods instead, mwah πŸ’…βœ¨πŸ§š

πŸ“¦ where this page comes from