in reply to Multi-line comments in perl code?
The first thing to realize is that you don't have to type a hash at the start of every line. (You used the word "star", but a star is this symbol: "*". A "hash" or a "pound sign" is this symbol: "#". Just so you know... :-) )
Any decent editor (and quite a few bad ones) will let you comment a block without really thinking about it. The trick is, finding an editor that you're used to. I don't really recommend learning vi (it's horrible to learn), but once you know it, things work almost without any concious effort.
For example, using vi, I do this, pretty much by reflex:
You can do pretty much the same thing in Emacs, or any other editor you like.
Good luck! :-)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Multi-line comments in perl code?
by lima1 (Curate) on Jul 15, 2006 at 08:15 UTC |