Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: On bad habits

by Aragorn (Curate)
on Jun 21, 2005 at 20:27 UTC ( [id://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.

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-03-28 22:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found