Bbedit themes3/17/2024 ![]() Perlcritic -include variables YourModule.pm # Report additional violations of Policies that match m/variables/xms # Report top 20 most severe violations (severity >= 1) # Report only violations of things from "Perl Best Practices" # Report all violations, regardless of severity (severity >= 1) # Same as above, but using named severity level # Report slightly less severe violations too (severity >= 4) # Recursively process all Perl files beneath directory # Same as above, but read input from STDIN ![]() # Report only most severe violations (severity = 5) USAGE EXAMPLESÄ«efore getting into all the gory details, here are some basic usage examples to help get you started. For all other information, including how to persistently configure this command so that you don't have to say so much on the command-line, see the documentation for Perl::Critic itself. This documentation only covers how to drive this command. All rules can easily be configured or disabled to your liking. ![]() ![]() However, perlcritic is not limited to enforcing PBP, and it will even support rules that contradict Conway. Most of the rules are based on Damian Conway's book Perl Best Practices. It is the executable front-end to the Perl::Critic engine, which attempts to identify awkward, hard to read, error-prone, or unconventional constructs in your code. Perlcritic is a Perl source code analyzer. Perlcritic - Command-line interface to critique Perl source. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |