Acme-Comment
    
    
  
  
  
view release on metacpan or search on metacpan
lib/Acme/Comment.pm view on Meta::CPAN
characters are allowed on the line after the starting delimiter, but these
characters will be ignored.  The closing delimiter cannot be followed by
any other characters.
Thus, in the following example, C<$foo> would be set to 1.
    /* This is my real comment.
    */
    $foo = 1;
If you wish to change this option, you must specify either a C<type> or
C<start> and C<end>.
=head2 one_line
By default, this is set to false, which means that multi-line comments
may not end on the same line in which they begin.  Turning this on
allows the following syntax:
    /* comment */
If you wish to change this option, you must specify either a C<type> or
C<start> and C<end>.
=head2 C<start> and C<end>
The C<start> and C<end> arguments allow you to supply your own commenting
pattern instead of one of the ones available with C<type>.  It is not
valid to provide the same pattern for both C<start> and C<end>.
You cannot specify both C<type> and C<start> and C<end>, and C<start>
and C<end> must both be provided if you provide one of them.
lib/Acme/Comment.pm view on Meta::CPAN
Multi-line comments use C<(*> and C<*)>.
=item * Blue
Single-line comments use either C<==> or C<-->.
=item * C
The default for Acme::Comment is C-style multi-line commenting
with C</*> and C<*/>.  However, if you wish to change C<one_line>
or C<own_line>, you must explicitly specify the type.
=item * C++
C++ multi-line style uses C</*> and C<*/>.  Single-line uses C<//>.
=item * C#
C# multi-line style uses C</*> and C<*/>.  Single-line uses C<//>.
( run in 0.742 second using v1.01-cache-2.11-cpan-5dc5da66d9d )