in reply to Multi-line comments in perl code?

if you use vim add the following to your .vimrc
set formatoptions=r
after your initial # comment goes here - each time you hit a newline, a # will be placed at the beginning... or/and to .vimrc
" comment out blocks " ma to mark beginning " put cursor at the end and hit F7 " code will be commented out map <F7> :'a,.s/^/#/gi^M:nohl^M map <F10> :'a,.s/^#//gi^M:nohl^M
I believe I got that last one from a thread here...

"That which we persist in doing becomes easier, not that the task itself has become easier, but that our ability to perform it has improved."
  --Ralph Waldo Emerson