Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

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

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

  • This is the first release of this module. I'm sure it has some kind of bugs. Bug reports, patches, and test results are most appreciated. Thanks!

  • A start (/*) without an end will result in the entire file being commented out. This will be fixed in 0.02.


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
  2. 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.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy