Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Remove leading spaces (left justify)

by halley (Prior)
on May 19, 2003 at 02:13 UTC ( [id://259042]=note: print w/replies, xml ) Need Help??


in reply to Re: Remove leading spaces (left justify)
in thread Remove leading spaces (left justify)

I read about that, and my instant worry was about the whole world of tabs-vs-spaces. So-called "smart" editors might think that the indent in your example is best served by a tab and some spaces to 'hello', two tabs to 'there', and two tabs and some spaces to 'test'. What is the right amount to remove?

Since indentation is a visual thing but perl and emacs and vim and msdev.exe will likely not discuss their various rendering strategies, these indented here-docs are likely to get out of whack.

--
[ e d @ h a l l e y . c c ]

  • Comment on Re: Re: Remove leading spaces (left justify)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-24 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found