logo       
Google Custom Search
    AddThis Social Bookmark Button

Re: perl mode indentation: msg#00004

Subject: Re: perl mode indentation
Waldemar R. Jankowski <waldemar@xxxxxxxxxxx> wrote:
>Currently my function calls that take an anonomous hash reference indent
>like this:
>
>my $retval = function({
>                          foo => 'bar',
>                     });
>
>What I would like is this:
>
>my $retval = function({
>    foo => 'bar',    
>})
[...]
>Is there a way to accomplish this?

Unfortunately, I do not have an answer for you.  There appear to be
only two variables that control Perl indentation and neither seem
relevant.  I am afraid to touch the perl mode since I am not a perl
user and as such I would most likely break it.  Instead I recommend
that you contact Mark Olesen since he maintains the perl mode.  I
believe he is also a member of this list.

Thanks,
--John




Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>