Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

Comment on Re^3: On bad habits
Select or Download Code
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 cooling their heels in the Monastery: (7)
As of 2015-11-25 16:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (682 votes), past polls