Perl::...Colons(3pm)

πŸ“¦
version 0.19 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸŽ€ 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