Perl::...s::Perl(3pm)

πŸ’– Perl::...s::Perl(3pm) πŸ’–

okay bestie, this page comes from the User Contributed Perl Documentation, and it’s all about Perl::Critic::Utils::Perl. it’s a little utility situation for Perl-language stuff that isn’t necessarily PPI related. no cap.


✨ NAME ✨

Perl::Critic::Utils::Perl β€” utility functions for dealing with Perl language issues. literally the whole point.

πŸŽ€ SYNOPSIS πŸŽ€

use Perl::Critic::Utils::Perl qw< :all >;

my $name = symbol_without_sigil('$foo');    # $name is "foo".

πŸ¦‹ DESCRIPTION πŸ¦‹

This handles various issues with Perl, the language, that aren’t necessarily PPI related. so it’s the spot for the Perl-language headaches that aren’t automatically PPI business.

🌈 INTERFACE SUPPORT 🌈

This is considered to be a public module. Any changes to its interface will go through a deprecation cycle. periodt.

πŸ‘‘ IMPORTABLE SUBROUTINES πŸ‘‘

symbol_without_sigil( $symbol )

Returns the name of the specified symbol with any sigil at the front. The parameter can be a vanilla Perl string or a PPI::Element. so yes, bestie, it can take the plain-string situation or the PPI::Element situation. πŸ’…

πŸ’œ AUTHOR πŸ’œ

Elliot Shank <perl@galumph.com>

Copyright (c) 2007-2011 Elliot Shank.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of this license can be found in the LICENSE file included with this module.


that’s the whole page, bestie πŸ’– β€” it’s sourced from perl v5.42.0, dated 2024-10-23, and the page name is Perl::...s::Perl(3pm). mwah 🫢

πŸ“¦ where this page comes from