Peter.Dintelmann@dresdner-bank.com [Wed, 8 Dec 2004 15:49:32 +0000 (15:49 +0000)]
Message-ID: <rt-3.0.11-32962-102394.11.
065973521948@perl.org>
p4raw-id: //depot/perl@23628
$curargs{$arg} = 1;
}
$args =~ s/\b(\w)/\$$1/g;
- $args = "local($args) = \@_;\n$t ";
+ $args = "my($args) = \@_;\n$t ";
}
s/^\s+//;
expr();
}
$args = (
@args
- ? "local(" . (join ',', map "\$$_", @args) . ") = \@_;\n$t "
+ ? "my(" . (join ',', map "\$$_", @args) . ") = \@_;\n$t "
: ""
);
my $proto = @args ? '' : '() ';