Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: On bad habits

by Aragorn (Curate)
on Jun 21, 2005 at 20:27 UTC ( #468805=note: print w/replies, xml ) Need Help??

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.


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...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://468805]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2016-10-29 00:21 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (387 votes). Check out past polls.