File::Comments::Plugin::Python - Plugin to detect comments in makefiles


File-Comments documentation Contained in the File-Comments distribution.

Index


Code Index:

NAME

Top

File::Comments::Plugin::Python - Plugin to detect comments in makefiles

SYNOPSIS

Top

    use File::Comments::Plugin::Python;

DESCRIPTION

Top

File::Comments::Plugin::Python is a plugin for the File::Comments framework.

LEGALESE

Top

Copyright 2005 by Mike Schilli, all rights reserved. This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Top

2005, Mike Schilli <cpan@perlmeister.com>


File-Comments documentation Contained in the File-Comments distribution.

###########################################
# File::Comments::Plugin::Python 
# 2005, Mike Schilli <cpan@perlmeister.com>
###########################################

###########################################
package File::Comments::Plugin::Python;
###########################################

use strict;
use warnings;
use File::Comments::Plugin;
use File::Comments::Plugin::Makefile;
use Log::Log4perl qw(:easy);

our $VERSION = "0.01";
our @ISA     = qw(File::Comments::Plugin::Makefile);

###########################################
sub init {
###########################################
    my($self) = @_;

    $self->register_suffix(".py");
}

###########################################
sub type {
###########################################
    my($self, $target) = @_;

    return "python";
}

1;

__END__