Eko Budiharto wrote:
> I would like to ask about commenting script in perl. What I know to
> comment out part of script in perl is use " # ". Now, my question is
> how about if I would like to comment out 100 lines or more of script,
> do I have to comment out line by line?
I think it is preferabl
in vi there's always
:.,+100s/^/# /
but if your editor doesn't have legacy command line editing capability, a decent
way to comment out a block of syntactically correct perl code is to
enclose it in
if(0){
...
};
another possibility is
Eko Budiharto wrote:
> I would like to ask about commenting script in perl. What I know to
> comment out part of script in perl is use " # ". Now, my question is how
> about if I would like to comment out 100 lines or more of script, do I
> have to comment out line by line?
> What I mean is in Jav