The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Perl::Critic::Config

DESCRIPTION

This class is used internally by Perl::Critic. It has a few static methods that are used for testing, but there aren't any user-servicable parts here (yet).

SUBROUTINES

find_profile( void )

Searches your environment variables and several predetermined directories for a .perlcriticrc file. If the file is found, the full path is returned. Otherwise, returns undef;

default_config( void )

Returns a list of the Policy modules that are automatically loaded by Perl::Critic. Usually, all Policy modules that ship with Perl::Critic are in the default configuration. The only exceptions are modules that have external dependencies, like Perl::Tidy.

AUTHOR

Jeffrey Ryan Thalhammer <thaljef@cpan.org>

COPYRIGHT

Copyright (c) 2005 Jeffrey Ryan Thalhammer. All rights reserved.

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.