perl-Code-DRY - Cut-and-Paste-Detector for Perl code

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports i586
Package filename perl-Code-DRY-0.10-alt1.i586.rpm
Package name perl-Code-DRY
Package version 0.10
Package release alt1
Package architecture i586
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 66.84 KB
Installed size 66.84 KB
The module's main purpose is to report repeated text fragments (typically Perl code)
that could be considered for isolation and/or abstraction in order to
reduce multiple copies of the same code (aka cut and paste code).
Code duplicates may occur in the same line, file or directory.
The ad hoc approach to compare every item against every other item
leads to computing times growing exponentially with the amount of code,
which is not useful for anything but the smallest code bases.
So a efficient data structure is needed.
This module can create the suffix array and the longest common prefix array
for a string of 8-bit characters. These data structures can be used to
search for repetitions of substrings in O(n) time.
The current strategy is to concatenate code from all files into one
string and then use the suffix array and its companion,
the longest-common-prefix (lcp) array on this string.


Package Version Architecture Repository
perl-Code-DRY-0.10-alt1.x86_64.rpm 0.10 x86_64 Autoimports
perl-Code-DRY - - -


Name Value
/usr/lib/perl5 - - - - -
perl(File/ -
perl(File/ -
perl( -
perl( -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Code/ = 0.100
perl-Code-DRY = 0.10-alt1


Type URL
Binary Package perl-Code-DRY-0.10-alt1.i586.rpm
Source Package perl-Code-DRY-0.10-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] i586 autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Code-DRY rpm package:
    # sudo apt-get install perl-Code-DRY



See Also

Package Description
perl-Code-DRY-scripts-0.10-alt1.i586.rpm Code-DRY scripts
perl-Collision-2D-0.07-alt4.2.i586.rpm Continuous 2d collision detection
perl-Colon-Config-0.003-alt1.1.i586.rpm XS helper to read a configuration file using ':' as separator
perl-Combine-Keys-0.09-alt2.1.i586.rpm keys on multiple hash references!
perl-Comedi-Lib-0.24-alt4.1.i586.rpm Perl API for Comedilib
perl-Compress-Huffman-Binary-0.01-alt2.1.i586.rpm Binary-only Huffman coding
perl-Compress-LZ4Frame-0.012002-alt1.1.i586.rpm Compression package using the lz4frame library
perl-Compress-LZV1-0.04-alt4.1.i586.rpm perl module Compress-LZV1
perl-Compress-PPMd-0.11-alt5.1.i586.rpm PPMd compression
perl-Compress-Raw-Lzma-2.093-alt1_1.i586.rpm Low-level interface to lzma compression library
perl-Compress-Zopfli-0.0.1-alt2.1.i586.rpm Interface to Google Zopfli Compression Algorithm
perl-Compress-Zstd-0.20-alt1.i586.rpm Perl interface to the Zstd (Zstandard) (de)compressor
perl-Compress-unLZMA-0.05-alt3.1.i586.rpm Interface to LZMA decompression library
perl-Cond-Expr-0.05-alt2.1.i586.rpm conditionals as expressions
perl-Conf-Libconfig-0.100-alt1.1.i586.rpm Perl extension for libconfig