Cataly...Default(3pm)

πŸ“¦
version 5.90132 Β· 6 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Catalyst::DispatchType::Default β€” the Default DispatchType, bestie πŸ’–

okay so this is Catalyst::DispatchType::Default, part of the User Contributed Perl Documentation situation (that's the manual name, it's giving 3pm, we love a perl module page ✨). sit down, grab a strawberry, we're learning dispatch types πŸ“


✨ NAME ✨

Catalyst::DispatchType::Default β€” it's literally the Default DispatchType. that's the whole name. iconic. no notes πŸ’…


🌸 SYNOPSIS 🌸

See Catalyst::DispatchType.

yeah that's it. the synopsis is just pointing you at the parent module, no cap. go read Catalyst::DispatchType, bestie, it's the vibe source πŸ¦‹


πŸŽ€ DESCRIPTION πŸŽ€

so this dispatch type is the one managing the default behaviour β€” the fallback, the last-resort queen, the one who shows up when literally everyone else has left the group chat πŸ‘‘

for more info on dispatch types in general (and how they do their thing), check these:

  • Catalyst::Manual::Intro β€” this one's for how dispatch types affect application authors (hi, that's you 🫢)
  • Catalyst::DispatchType β€” this one's for the implementation tea, i.e. how it actually works under the hood

⭐ METHODS ⭐

πŸ’œ $self->match( $c, $path )

okay so this method has two moods and it depends entirely on $path:

  • if $path is empty β€” meaning all the path parts have already been converted into args (yes, all of them, every single one πŸ’€) β€” it attempts to find a default for the namespace constructed from the args, or the last inherited default otherwise, and it will match that. so it's out here trying its best, respectfully 🌈
  • if $path is not empty β€” it never matches. periodt. because Default will only ever match if all other possibilities have been exhausted. it's not first choice, it's the final choice, and honestly? main character energy πŸ’…

πŸ‘‘ AUTHORS πŸ‘‘

Catalyst Contributors β€” see Catalyst.pm for the whole squad list 🫢


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


and that's the page!! this was Cataly...Default(3pm), generated with perl v5.40.0 on 2024-11-15 β€” mwah, tysm for reading, go write some Catalyst code bestie πŸ§šβœ¨πŸ’œ

πŸ“¦ where this page comes from