On Tue, 11 Apr 2006, Dan Jacobson wrote:
> There is a slight chance that perltidy lacks fine grained control of
> to keep special {{'s of perlsyn (below) stuck together, without affecting
> other {'s. But I'm not sure.


You're forming a BLOCK here, not a "loop". (perlsyn is a bit
inacurate, unfortunatly.)

From a perl perspective, there's no difference between having the {{
together or apart.

And frankly:

if (1) {
 {
   next if bar;
 }
}

is probably closer to the way these things should be written, and
that's the way that perltidy returns them.


Don Armstrong

-- 
"I'm a rational being--of a sort--rational enough, at least, to see the
symptoms of insanity around me. And I'm human, the same as the poeple
I think of as victims when my guard drops. It's at least possible I'm
even crazier than my fellows, whom I'm tempted to pity.
"There seems only one thing to do, and that's get drunk"
 -- Chad C. Mulligan (John Brunner _Stand On Zanzibar p390)

http://www.donarmstrong.com              http://rzlab.ucr.edu

Reply via email to