in reply to Re: [Golfing] Uncommenting a block
in thread [Golfing] Uncommenting a block
Thanks, interesting, but my (shortest) approach is not discussed (or only in more verbose versions)
From what I saw nesting and conditional commenting seem to be of special interest... which can be done with this solution:
if ($habibi) { print $habibi; <<'' if (0); #forget the following print " talks often much cr*p";<P> $h++ }
Warning about whitespaces in "empty" lines ending a heredoc seem to be a good application for code filters. (...finally)
Cheers Rolf
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: [Golfing] Uncommenting a block
by Hue-Bond (Priest) on Apr 14, 2010 at 13:06 UTC | |
by LanX (Saint) on Apr 15, 2010 at 11:32 UTC | |
by Hue-Bond (Priest) on Apr 15, 2010 at 11:41 UTC |
In Section
Seekers of Perl Wisdom