Cataly...lRegexp(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

πŸ’– NAME πŸ’–

Catalyst::DispatchType::LocalRegexp β€” the LocalRegexp DispatchType, bestie πŸ¦‹


✨ SYNOPSIS ✨

okay so this one's a vibe-check-by-reference situation:

See Catalyst::DispatchType.

like, literally just go read that one, i'm not gonna retype the whole thing πŸ’…


🌸 DESCRIPTION 🌸

status check: it's deprecated, no cap 😭

Status: Deprecated. The regex dispatch types have been deprecated and removed from Catalyst core. It is recommend that you use Chained methods or other techniques instead.

fr fr, do NOT build anything new on this. the regex dispatch types have been deprecated and removed from Catalyst core. Chained methods, or literally any other technique, please and thank you πŸ™

And here's the part that's giving chaos: 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 of operations matters now, not some fixed ranking. iykyk 🌈

the warning situation 🚨

When loaded, a warning about the deprecation will be printed to STDERR. To suppress the warning, set the CATALYST_NOWARN_DEPRECATE environment variable to a true value.

that's your one and only escape hatch, bestie. CATALYST_NOWARN_DEPRECATE = true value = silence. that's it.

what this thing actually does πŸŽ€

Dispatch type managing path-matching behaviour using regexes. This simply supports the alternate spelling of LocalRegex. All the work is done in Catalyst::DispatchType::LocalRegex.

so yeah β€” this module is basically the ~aesthetic~ respelling. LocalRegex but with a p on the end. the actual labour? outsourced. it's giving delegation energy πŸ‘‘

For more information on dispatch types, see:

  • Catalyst::Manual::Intro for how they affect application authors
  • Catalyst::DispatchType for implementation information.

✨ two whole doors to walk through, pick your journey ✨


πŸ‘‘ AUTHORS πŸ‘‘

Catalyst Contributors, see Catalyst.pm

it takes a village, and the village is credited in another file 🫢


This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

free as in freedom, slay πŸ’…


okay that's the whole page, you ate it, no crumbs ✨ This was perl v5.34.0, dated 2022-06-09, from the Cataly...lRegexp(3pm) corner of the manual-verse. bye bestie, go use Chained methods πŸ’–πŸ¦‹

πŸ“¦ where this page comes from