Code::CutNPaste::Duplicate::Item - Individual code snippet
my $item = Code::CutNPaste::Duplicate::Item->new( file => $filename, line => $line_number, code => $text_of_code, );
This is merely a simple object to report on a chunk of code. For internal use only.
0.31
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.
To install Code::CutNPaste, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Code::CutNPaste
CPAN shell
perl -MCPAN -e shell install Code::CutNPaste
For more information on module installation, please visit the detailed CPAN module installation guide.