Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/perl-ide/app-perlvars
Find unused variables in your Perl code
https://github.com/perl-ide/app-perlvars
Last synced: about 2 months ago
JSON representation
Find unused variables in your Perl code
- Host: GitHub
- URL: https://github.com/perl-ide/app-perlvars
- Owner: perl-ide
- License: other
- Created: 2022-02-05T02:12:07.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-16T16:34:46.000Z (4 months ago)
- Last Synced: 2024-09-16T20:19:05.095Z (4 months ago)
- Language: Perl
- Size: 86.9 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
[![Actions Status](https://github.com/perl-ide/App-perlvars/actions/workflows/dzil-build-and-test/badge.svg)](https://github.com/perl-ide/App-perlvars/actions)
[![codecov](https://codecov.io/gh/perl-ide/App-perlvars/branch/main/graph/badge.svg)](https://codecov.io/gh/perl-ide/App-perlvars)
[![Kwalitee status](https://cpants.cpanauthors.org/dist/App-perlvars.png)](https://cpants.cpanauthors.org/dist/App-perlvars)
[![GitHub tag](https://img.shields.io/github/tag/perl-ide/App-perlvars.svg)]()
[![Cpan license](https://img.shields.io/cpan/l/App-perlvars.svg)](https://metacpan.org/release/App-perlvars)# NAME
App::perlvars - CLI tool to detect unused variables in Perl modules
# VERSION
version 0.000006
# DESCRIPTION
You probably don't want to use this class directly. See [perlvars](https://metacpan.org/pod/perlvars) for
documentation on how to use the command line interface.## ignore\_file
The path to a file containing a list of variables to ignore on a per-package
basis. The pattern is `Module::Name = $variable` or `Module::Name = qr/some
regex/`. For example:Local::Unused = $unused
Local::Unused = $one
Local::Unused = $two
Local::Unused = qr/^\$.*hree$/## validate\_file
Path to a file which will be validated. Returns an exit code, an error message
and a list of unused variables.# AUTHOR
Olaf Alders
# COPYRIGHT AND LICENSE
This software is copyright (c) 2022 by MaxMind, Inc.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.