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.