View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Curtis "Ovid" Poe > Code-CutNPaste-0.30 > Code::CutNPaste::Duplicate::Item

Download:
Code-CutNPaste-0.30.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Module Version: 0.3   Source   Latest Release: Code-CutNPaste-0.31

NAME ^

Code::CutNPaste::Duplicate::Item - Individual code snippet

SYNOPSIS ^

    my $item = Code::CutNPaste::Duplicate::Item->new(
        file => $filename,
        line => $line_number,
        code => $text_of_code,
    );

DESCRIPTION ^

This is merely a simple object to report on a chunk of code. For internal use only.

VERSION ^

0.30

METHODS ^

file

Returns the name of the file the code is contained in.

line

Returns the (approximate) line number the code starts at.

code

Returns the (approximate) code which is duplicated.

syntax highlighting: