Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570686
en ru br
Репозитории ALT
S:0.86-alt1
5.1: 0.45-alt1
4.1: 0.44-alt2.1
4.0: 0.44-alt2.1
3.0: 0.44-alt2.1
www.altlinux.org/Changes

Группа :: Разработка/Perl
Пакет: perl-Inline

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: perl-Inline-0.44-mdk-underscore-localization.patch
Скачать


--- Inline-0.44~/lib/Inline/denter.pm	2001-06-13 04:30:50 +0000
+++ Inline-0.44/lib/Inline/denter.pm	2004-05-17 11:51:51 +0000
@@ -179,7 +179,7 @@ sub _undent_undef {
 sub _next_line {
     my $o = shift;
     $o->{done}++, $o->{level} = -1, return unless @{$o->{lines}};
-    $_ = shift @{$o->{lines}};
+    local $_ = shift @{$o->{lines}};
     $o->{line}++;
 }
 
@@ -188,7 +188,7 @@ sub _setup_line {
     $o->{done}++, $o->{level} = -1, return unless @{$o->{lines}};
     my ($width, $tabwidth) = @{$o}{qw(width tabwidth)};
     while (1) {
-	$_ = $o->{lines}[0];
+	local $_ = $o->{lines}[0];
 	# expand tabs in leading whitespace;
 	$o->next_line, next if /^(\s*$|\#)/; # skip comments and blank lines
 	while (s{^( *)(\t+)}
@@ -211,7 +211,7 @@ sub indent {
     my $stream = '';
     $o->{key} = '';
     while (@_) {
-	$_ = shift;
+	local $_ = shift;
 	$stream .= $o->indent_name($_, shift), next
 	  if (/^\*$package\::\w+$/);
 	$stream .= $o->indent_data($_);
@@ -221,7 +221,7 @@ sub indent {
 
 sub indent_data {
     my $o = shift;
-    $_ = shift;
+    local $_ = shift;
     return $o->indent_undef($_)
       if not defined;
     return $o->indent_value($_) 
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin