From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Comment::Block - Adds block style comments to Perl

SYNOPSIS

#/*
A block
of commented
things
#*/
..normal execution..

DESCRIPTION

Provide a better way of doing block comments instead of using POD or always false if blocks.

SYNTAX HIGHLIGHTING

You can add the below to ~/.vim/after/syntax/perl.vim to add Syntax Highlighting for the comment blocks. This is only for VIM currently but if someone sends me more for other editors I will add them here.

syn region perlCommentBlock start="#/\*" end="#\*/" contains=perlTodo
if version < 508
command -nargs=+ HiLink hi link <args>
else
command -nargs=+ HiLink hi def link <args>
endif
HiLink perlCommentBlock Comment

VERSION

This documentation describes version 0.01.

AUTHOR

Madison Koenig <pedlar AT cpan DOT org>

COPYRIGHT

Copyright (c) 2013 Madison Koenig All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.