Comments
# the answer to everything
my $x = 42;#`(
Comments beginning with a backtick and one or more opening bracketing characters are embedded comments.
They can span more than one line…
)
my $y = #`{ …or only part of a line. } 3;for #`(each element in) my @array {
say #`(or print element) $_ #`(with a newline);
}#`{{
This close curly brace } won't terminate the comment early.
}}Last updated