Submitted by: Roderich Schupp <roderich schupp googlemail com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@932791
13f79535-47bb-0310-9956-
ffa450edef68
my ($argumentative, @ARGV) = @_;
my $errs = 0;
local $_;
- local $[ = 0;
my @args = split / */, $argumentative;
while (@ARGV && ($_ = $ARGV[0]) =~ /^-(.)(.*)/) {
last;
}
my $pos = index($argumentative,$first);
- if ($pos >= $[) {
+ if ($pos >= 0) {
if ($pos < $#args && $args[$pos+1] eq ':') {
shift @ARGV;
if ($rest eq '') {