Perl Language Comments Single-line comments


Example

Single-line comments begin with a pound sign # and go to the end of the line:

# This is a comment

my $foo = "bar"; # This is also a comment