http://www.perlmonks.org?node_id=468805


in reply to Re^2: On bad habits
in thread On bad habits

This is where your editor can help. Emacs' cperl-mode can display trailing whitespace. For example:
print <<"EOT"; This is a piece of text. EOT_
The underscore after EOT indicates a trailing space which can help a lot in this case.

Arjen

All that is gold does not glitter...

Replies are listed 'Best First'.
Re^4: On bad habits
by Akhasha (Scribe) on Jun 22, 2005 at 02:14 UTC
    I avoid here-docs because cperl-mode's syntax hilighting and indentation seems to be often thrown by it. Maybe there's a workaround I'm not aware of...