Heps,
On Wed, Oct 31, 2007 at 08:44:20AM +0100, jonasbn wrote:
> Just to follow up on the discussion from yesterday, the following
statement
> in my ~/.perltidyrc makes the if... then... else... constructs behave
> nicely, meaning curly braces are kept on the same line.
>
> -ce # Cuddled elses
>
> I does not touch my use of flow-control from Error; try... catch...
> otherwise... finally...
Right... and your use of try... catch... otherwise is, if I remember
correctly, like this:
try {
...
}
otherwise {
...
};
What I would like to achieve is the *same* effect for those as with
cuddled
elses, since these are control structures just like if..else..:
try {
...
} otherwise {
...
};
As far as I was able to determine, this is not possible without some
patching. I will be happy to be proven wrong.
\Anton.
--
We're going for 'working' here. 'clean' is for people with skills...
-- Flemming Jacobsen


|