in reply to Better ways to make multi-line comments in Perl?

You may want to mate CLive's answer with tachyon's, to put single quotes around the "#" so it will work:

<<'#';

without the horrible C-ism of '*/'. And if you use single-quotes instead of double-quotes, the comment string won't even be variable-interpolated.

/s

  • Comment on Re: Better ways to make multi-line comments in Perl?

Replies are listed 'Best First'.
Re: Answer: Better ways to make multi-line comments in Perl?
by blakem (Monsignor) on Nov 05, 2001 at 07:39 UTC
    I get a Useless use of a constant in void context warning when I use that... although a
    no warnings "void";
    seems to suppress it.

    -Blake