| Age | Commit message (Collapse) | Author | Files | Lines |
|
Addresses: Subroutines::ProhibitManyArgs
Warned-by: perlcritic
|
|
This should make the regular expressions easier to read and understand,
and allows to add comments describing specific parts.
Addresses RegularExpressions::RequireExtendedFormatting.
Warned-by: perlcritic
|
|
|
|
This file was a very outdated copy from before 2001, the user is better
served by downloading it once they are doing the setup, in case they use
Debian. There's no point in doing it ourselves, as the download methods
need a major revamp anyway.
Closes: #784966
|
|
Place 'use' strict and warnings first, then Exporter 'our' declarations,
then Test module imports, then system module imports, then Dpkg module
imports, then 'use' parent and overload pragmas, separated by a blank
line for each block.
Split each exported symbol declaration into its own line to ease
modifications.
|
|
|
|
Fixes InputOutput::RequireBracedFileHandleWithPrint.
Warned-by: perlcritic
|
|
Addresses ErrorHandling::RequireCarping.
Warned-by: perlcritic
|
|
This will make it safe to remove parenthesis around builtins.
|
|
All changed instances are documentation or private code interfaces.
The only remaining variable instance with a regexp name is a publicly
exposed variable, which will eventually disappear once it has gone
through the deprecation process.
|
|
This module has a problematic license, so there's no point in doing
a more intrusive cleanup, just uppercase the variable and be done
with it.
Addresses Variables::ProhibitPackageVars.
Warned-by: perlcritic
|
|
Fixes CodeLayout::ProhibitHardTabs.
Warned-by: perlcritic
|
|
|
|
Addresses Modules::RequireVersionVar.
|
|
|
|
Addresses NamingConventions::Capitalization.
|
|
Fixes Modules::ProhibitConditionalUseStatements.
Warned-by: perlcritic
|
|
Fixes RegularExpressions::ProhibitUnusualDelimiters.
Warned-by: perlcritic
|
|
Fixes Variables::ProhibitUnusedVariables.
Warned-by: perlcritic
|
|
Using double-quotes imposes a small performance penalty as the perl
parser needs to check if any interpolation is needed. Use double-quotes
only when the string contains single-quotes. Ideally we'd use
double-quotes too for escaped meta-characters that might otherwise be
confusing to immediately see if they need interpolation or not, but the
policy does not (currently) allow to ignore these.
Fixes ValuesAndExpressions::ProhibitInterpolationOfLiterals.
Warned-by: perlcritic
|
|
Addresses ValuesAndExpressions::ProhibitInterpolationOfLiterals.
Warned-by: perlcritic
|
|
Fixes InputOutput::ProhibitBarewordFileHandles.
Warned-by: perlcritic
|
|
Fixes InputOutput::ProhibitTwoArgOpen.
Warned-by: perlcritic
|
|
This also fixes a typo ($VAL1 → $VAR1), and adds %config to the
Dselect::Ftp module exported variables.
|
|
|
|
This gets rid of the need to hardcode the perl module path in the
scripts. The Dselect methods are not really Debian specific anyway.
|