Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^4: [Golfing] Uncommenting a block

by LanX (Chancellor)
on Apr 15, 2010 at 11:32 UTC ( #834866=note: print w/replies, xml ) Need Help??

in reply to Re^3: [Golfing] Uncommenting a block
in thread [Golfing] Uncommenting a block

> "empty" lines ending a heredoc have trailing spaces at the end, by definition.

I'm not sure I understand what you mean with "by definition"...(?)

you're suggesting to use perlcritic?

I think a feature/syntax/pragma allowing trailing whitespace in Here-Docs would have many advantages.

(Talking about the "right tool", emacs visualizes trailing whitespaces by default. ;)

Cheers Rolf

Replies are listed 'Best First'.
Re^5: [Golfing] Uncommenting a block
by Hue-Bond (Priest) on Apr 15, 2010 at 11:41 UTC

    Maybe I quoted too little text. The topic was to warn about whitespace in emtpy lines. Well, empty lines have no content and if they have some whitespace, this whitespace is both at the beginning and at the end of the line at the same time. That was my "definition".

     David Serrano
     (Please treat my english text just like Perl code, i.e. feel free to notify me of any syntax, grammar, style and/or spelling error. Thank you!).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://834866]
[robby_dobby]: shmem:everything2
robby_dobby says Sorry and points to his boredom
[shmem]: robby_dobby: since everything is everything, it is thus also everything2. And everything2 is based on... you name it.
[Corion]: Mhhmmm. I just had to remind two contractos of their priorities from my point of view. This felt somewhat like getting my godson+siblings to clean their room, including the evil eye I threw them ;)
shmem .oO( "I am God! (at least on PerlMonks.) Behold my lightning!" )

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (14)
As of 2017-04-25 13:31 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (454 votes). Check out past polls.