Perl::Critic::Utils::Perl(3pm)

Perl::Critic::Utils::Perl3pm

Utility functions for dealing with perl language issues.

Usage

    use Perl::Critic::Utils::Perl qw< :all >;
    my $name = symbol_without_sigil('$foo');    # $name is "foo".

Overview

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

Interface support

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

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.

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 8 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12
  8. 13
  9. Arch

Author

Elliot Shank <[email protected]>

From perl-perl-critic 1.156-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.