Filter::Comments::C - Perl extension to allow programmers to use C-style comments in their Perl code


NAME

Filter::Comments::C - Perl extension to allow programmers to use C-style comments in their Perl code


SYNOPSIS

  use Filter::Comments::C;


DESCRIPTION

Allows programmers to use the commenting style of the C programming language; /* and */. It provides an easy way to comment out or enable debug code. The delimiters may appear anywhere on a the line.

An example... Without Filter::Comments::C (code block commented out):

  ## START DEBUG CODE
  #print "Reported Date: $date\n";
  #print "Reported Time: $time\n";
  #open LOG, ">>log.log";
  #print LOG "$date";
  #print LOG ",";
  #print LOG "$time\n";
  ## END   DEBUG CODE

With Filter::Comments::C (code block commented out):

  /* START DEBUG CODE
  print "Reported Date: $date\n";
  print "Reported Time: $time\n";
  open LOG, ">>log.log";
  print LOG "$date";
  print LOG ",";
  print LOG "$time\n";
     END   DEBUG CODE */


BUGS


SUPPORT

All bugs should be filed via the CPAN bug tracker at http://rt.cpan.org/NoAuth/ReportBug.html.

For any other issues, suggestions, questions, comments, or support, please contact the author.


HISTORY

  1. 01
    Original version;


AUTHOR

Matthew J. Kosmoski, <kosmo@cpan.org>


COPYRIGHT AND LICENSE

Copyright (C) 2007 by Matthew J. Kosmoski

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

 Filter::Comments::C - Perl extension to allow programmers to use C-style comments in their Perl code