Specio:...ry::Perl(3)

✨ NAME ✨

Okay bestie, this is the Specio:...ry::Perl(3) page from User Contributed Perl Documentation, and it's serving Specio::Library::Perl β€” Implements type constraint objects for some common Perl language things. Periodt. πŸ’…

πŸ’– VERSION πŸ’–

version 0.49 β€” that's the number, no cap. πŸŽ€

🌸 DESCRIPTION 🌸

This library provides some additional string types for common cases. It's giving helper types for Perl things and we're obsessed. ✨

πŸŽ€ PackageName πŸŽ€

A valid package name. Unlike the ClassName constraint from the Specio::Library::Builtins library, this package does not need to be loaded. Iconic behavior, honestly.

This type does allow Unicode characters. 🌈

πŸ¦‹ ModuleName πŸ¦‹

Same as PackageName. That's it, that's the vibe β€” same rules, no extra plot twists. 🫢

πŸ“ DistName πŸ“

A valid distribution name like DBD-Pg. Basically this is the same as a package name with the double-colons replaced by dashes. Note that there are some historical distribution names that don't fit this pattern, like CGI.pm.

This type does allow Unicode characters. ✨

πŸ’œ Identifier πŸ’œ

An Identifier is something that could be used as a symbol name or other identifier (filehandle, directory handle, subroutine name, format name, or label). It's what you put after the sigil (dollar sign, at sign, percent sign) in a variable name. Generally, it's a bunch of word characters not starting with a digit.

This type does allow Unicode characters. 🌟

πŸ’… SafeIdentifier πŸ’…

This is just like an Identifier, but it excludes the single-character variables underscore (_), "a"< and "b", as these are special variables to the Perl interpreter. So it's the same vibe, just with the special little guys filtered out. πŸ™ˆ

πŸ”₯ LaxVersionStr and StrictVersionStr πŸ”₯

Lax and strict version strings use the is_lax and is_strict methods from version to check if the given string would be a valid lax or strict version. version::Internals covers the details, but basically: lax versions are everything you may do, and strict omit many of the usages best avoided. Big "rules are rules but make them cute" energy. πŸ’€

🫢 CREDITS 🫢

Much of the code and docs for this library comes from MooseX::Types::Perl, written by Ricardo SIGNES <rjbs@cpan.org>. Giving credit where credit is due, as she should. πŸ‘‘

πŸ¦‹ SUPPORT πŸ¦‹

Bugs may be submitted at <https://github.com/houseabsolute/Specio/issues>. If something's acting up, that's the spot β€” no cap. 😭

🌈 SOURCE 🌈

The source code repository for Specio can be found at <https://github.com/houseabsolute/Specio>. Go peek, bestie. πŸ”

πŸ‘‘ AUTHOR πŸ‘‘

Dave Rolsky <autarch@urth.org> β€” main character energy. πŸ’–

This software is Copyright (c) 2012 - 2024 by Dave Rolsky.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)

The full text of the license can be found in the LICENSE file included with this distribution.


Okay that's the whole manual page, bestie πŸ’– Sign-off check: perl v5.42.0, date 2024-12-24, and the manual is Specio:...ry::Perl(3) β€” slay, mwah! πŸ’…πŸŽ€

πŸ“¦ where this page comes from