Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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.

Arjen

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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2015-07-08 03:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls