logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Perl::Critic::Utils::Perl - Utility functions for dealing with Perl language issues.

Author

       Elliot Shank <perl@galumph.com>

Description

       This handles various issues with Perl, the language, that aren't necessarily PPI related.

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.

Interface Support

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

Name

       Perl::Critic::Utils::Perl - Utility functions for dealing with Perl language issues.

Synopsis

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

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

See Also