in reply to Re^2: Can we use print <<HTML; twice in same file?
in thread [Solved]: Can we use print <<HTML; twice in same file?

Did you try that?

Adding the double quotes around the opening tag won't solve the OP's problem. When using a herdoc, perl will "assume" that double quotes were used if none were used.

  • Comment on Re^3: Can we use print <<HTML; twice in same file?

Replies are listed 'Best First'.
Re^4: Can we use print <<HTML; twice in same file?
by Tux (Canon) on Aug 25, 2015 at 17:51 UTC

    No, but I always quote. And use use 5.20.1; (or use strict;), use warnings; and Perl::Critic's perlcritic -1


    Enjoy, Have FUN! H.Merijn