Google News
logo
Perl - Interview Questions
How to do comment in Perl?
Like other languages, Perl also provides comment facility in its code. There are a single line and multi-line comment.
 
For single line comment : use # before the line you want to comment.
 
For multi-line comment : use =begin and =cut statement before and after the lines respectively you want to comment.
Advertisement