Perl::...Colons(3pm)
π NAME π
from User Contributed Perl Documentation, this is Perl::...Colons(3pm) π
TooMuchCode::ProhibitExcessiveColonsβ finds'::::::::'in module names. π
π¦ DESCRIPTION π¦
okay bestie, so in an include statement, it is possible to have a lot of colons:
use Data::::Dumper;
... or
use Data::::::::Dumper;
as long as the number of colons is a multiple of two. β¨
However, just because it is doable, does not mean it is sensible. π the string "use Data::::::Dumper" will make perl look for "lib/Data///Dumper.pm", which is usually the same as "lib/Data/Dumper.pm". π
This policy restrict you to use only two colons to delimit one layer of namespace. periodt. π
that's the whole vibe from Perl::...Colons(3pm), perl v5.36.0, 2023-10-05 π«Ά
π¦ where this page comes from
- debian trixie: libperl-critic-toomuchcode-perl 0.19-1 Β· MIT
- ubuntu noble: libperl-critic-toomuchcode-perl 0.19-1 Β· MIT
- ubuntu resolute: libperl-critic-toomuchcode-perl 0.19-1 Β· MIT
- ubuntu stonking: libperl-critic-toomuchcode-perl 0.19-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms