[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Perl indentation problem?

From: Pedro Alves
Subject: Perl indentation problem?
Date: Mon, 26 Nov 2001 12:28:47 +0000
User-agent: Mutt/1.2.5i

Hi. Take a look at the way emacs handles this piece of perl code:

while (@vars) {
  ($var, $val) = split("=", shift @vars);

next if $val =~ /^\s*$/; <- ?!?!?!?

$val =~ tr/+/ /;
$val =~ s/%([0-9A-F][0-9A-F])/&hex2dec($1)/ge;

IMHO, this is not supposed to happen...

Any clues?

Pedro Miguel G. Alves

reply via email to

[Prev in Thread] Current Thread [Next in Thread]