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
Multi-line comments start with = and with the =cut statement. These are special comments called POD (Plain Old Documentation).
=
=cut
Any text between the markers will be commented out:
=begin comment This is another comment. And it spans multiple lines! =end comment =cut
Read Articlehttps://develop.horje.com/learn/1434/reference