[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Perl indentation problem?
From: |
Pedro Alves |
Subject: |
Re: Perl indentation problem? |
Date: |
Mon, 26 Nov 2001 15:31:56 +0000 |
User-agent: |
Mutt/1.2.5i |
Well, I found out that a previous expression was the cause for the
strange behaviour. It is corrected, thanks
On Mon, Nov 26, 2001 at 09:08:25AM -0600, Fernando Dobladez wrote:
> Pedro Alves wrote:
>
> No idea, but seems to work OK for me, in both perl-mode and cperl-mode:
>
> ______________________
> while (@vars) {
> ($var, $val) = split("=", shift @vars);
>
> next if $val =~ /^\s*$/;
>
> $val =~ tr/+/ /;
> $val =~ s/%([0-9A-F][0-9A-F])/&hex2dec($1)/ge;
> }
> _____________________
>
>
> That's Emacs 21.1.1
>
>
> Good luck,
>
> Fernando
>
>
>
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
--
Pedro Miguel G. Alves
THINK - Tecnologias de Informa??o
Av. Defensores de Chaves n? 15 4?D, 1000-109 Lisboa Portugal
Tel: +351 21 3590285 Fax: +351 21 3582729
HomePage: www.think.co.pt