use Carp;
-$VERSION = "1.816_1" ;
+$VERSION = "1.816_2" ;
+$VERSION = eval $VERSION;
{
local $SIG{__WARN__} = sub {$splice_end_array = "@_";};
$h{"fred"} = "joe" ;
ok(173, $h{"fred"} eq "joe");
- eval { grep { $h{$_} } (1, 2, 3) };
+ eval { my @r= grep { $h{$_} } (1, 2, 3) };
ok (174, ! $@);
ok(176, $db->FIRSTKEY() eq "fred") ;
- eval { grep { $h{$_} } (1, 2, 3) };
+ eval { my @r= grep { $h{$_} } (1, 2, 3) };
ok (177, ! $@);
undef $db ;
$h{"fred"} = "joe" ;
ok(137, $h{"fred"} eq "joe");
- eval { grep { $h{$_} } (1, 2, 3) };
+ eval { my @r= grep { $h{$_} } (1, 2, 3) };
ok (138, ! $@);
ok(140, $db->FIRSTKEY() eq "fred") ;
- eval { grep { $h{$_} } (1, 2, 3) };
+ eval { my @r= grep { $h{$_} } (1, 2, 3) };
ok (141, ! $@);
undef $db ;
$h[0] = "joe" ;
ok(155, $h[0] eq "joe");
- eval { grep { $h[$_] } (1, 2, 3) };
+ eval { my @r= grep { $h[$_] } (1, 2, 3) };
ok (156, ! $@);
ok(157, $h[1] eq "joe");
- eval { grep { $h[$_] } (1, 2, 3) };
+ eval { my @r= grep { $h[$_] } (1, 2, 3) };
ok (158, ! $@);
undef $db ;
GDBM_WRITER
);
-$VERSION = "1.08";
+$VERSION = "1.08_01";
+$VERSION = eval $VERSION;
sub AUTOLOAD {
my($constname);
$h{"fred"} = "joe" ;
ok(76, $h{"fred"} eq "joe");
- eval { grep { $h{$_} } (1, 2, 3) };
+ eval { my @r= grep { $h{$_} } (1, 2, 3) };
ok (77, ! $@);
ok(79, $db->FIRSTKEY() eq "fred") ;
- eval { grep { $h{$_} } (1, 2, 3) };
+ eval { my @r= grep { $h{$_} } (1, 2, 3) };
ok (80, ! $@);
undef $db ;
# http://stein.cshl.org/WWW/software/CGI/
$CGI::revision = '$Id: CGI.pm,v 1.240 2007/11/30 18:58:27 lstein Exp $';
-$CGI::VERSION='3.33_01';
+$CGI::VERSION='3.33_02';
+$CGI::VERSION=eval $CGI::VERSION;
+
# HARD-CODED LOCATION FOR FILE UPLOAD TEMPORARY FILES.
# UNCOMMENT THIS ONLY IF YOU KNOW WHAT YOU'RE DOING.
if (!$override && ($self->{'.fieldnames'}->{$name} ||
defined($self->param($name)) ) ) {
- grep($selected{$_}++,$self->param($name));
+ $selected{$_}++ for $self->param($name);
} elsif (defined($defaults) && ref($defaults) &&
(ref($defaults) eq 'ARRAY')) {
- grep($selected{$_}++,@{$defaults});
+ $selected{$_}++ for @{$defaults};
} else {
$selected{$defaults}++ if defined($defaults);
}
s:^(lib|ext)/(auto/)?::;
s:/\w+\.\w+$::;
}
- grep(s:/:$as:, @ext) if ($as ne '/');
+ map(s:/:$as:, @ext) if ($as ne '/');
@ext;
}
use ExtUtils::MakeMaker qw($Verbose neatvalue);
$VERSION = '6.42_01';
+$VERSION = eval $VERSION;
require ExtUtils::MM_Any;
@ISA = qw(ExtUtils::MM_Any);