Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • If I have a comment that I want to stand out I use the shebang rule to my advantage (dark blue instead of cyan).
    #!# A very important comment that want everyone to notice
    • I am color weak so that is hard for me to tell so I just use # XXX to have something stand out.

      • Heh. I also use that trick from time to time. That reminds me, I need to modify my Vim config to make '# BUG' stand out in red.
        • I copied the perl syntax file to my .vim directory and tweaked it to highlight bug comments differently. 'BUG' gets colored white on red and the rest of the comment in the normal cyan (if you use the default color scheme).

          [mmusgrove@test perl]$ diff /usr/share/vim/vim70/syntax/perl.vim ~/.vim/syntax/perl.vim
          > syn keyword perlBug                     BUG contained
          < syn match  perlComment                "#.*" contains=perlTodo
          > syn match  perlComment                "#.*" contains=perlTodo,perlBug
          >   HiLink perlBug              Error