+1.19 -- Sun Dec 10 09:58:03 CST 2006
+
+Bug Fixes
+ * Fix invalid conversion from `const char*' to `char*' warnings
+ * Avoid Makefile error when building on Win32
+ * Fix undefined symbol error for perl < 5.9.0
+ * Fix hardcoded "/" in a filepath that causes p_tainted.t to fail on VMS
+
+Documentation
+ * Document that reduce calls BLOCK in a scalar context
+ * Add SEE ALSO sections to docs
+
+Enhancements
+ * A new regression test for readonly, taking a reference to a constant passed to a sub
+
1.18 -- Fri Nov 25 09:30:29 CST 2005
Bug Fixes
make test
make install
-This distribution provides
-
- min
- max
- minstr
- maxstr
- sum
- reduce
- reftype
- blessed
- weaken (5.005_57 and later only)
- isweak (5.005_57 and later only)
- dualvar
- shuffle
-
KNOWN BUGS
There is a bug in perl5.6.0 with UV's that are >= 1<<31. This will
show up as tests 8 and 9 of dualvar.t failing
-Copyright (c) 1997-2005 Graham Barr <gbarr@pobox.com>. All rights reserved.
+Copyright (c) 1997-2006 Graham Barr <gbarr@pobox.com>. All rights reserved.
This library is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
{
dVAR;
int index;
-#if (PERL_VERSION < 8) || (PERL_VERSION == 8 && PERL_SUBVERSION <1)
+#if (PERL_VERSION < 9)
struct op dmy_op;
struct op *old_op = PL_op;
# List::Util.pm
#
-# Copyright (c) 1997-2005 Graham Barr <gbarr@pobox.com>. All rights reserved.
+# Copyright (c) 1997-2006 Graham Barr <gbarr@pobox.com>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
@ISA = qw(Exporter);
@EXPORT_OK = qw(first min max minstr maxstr reduce sum shuffle);
-$VERSION = "1.18";
+$VERSION = "1.19";
$XS_VERSION = $VERSION;
$VERSION = eval $VERSION;
=item reduce BLOCK LIST
-Reduces LIST by calling BLOCK multiple times, setting C<$a> and C<$b>
-each time. The first call will be with C<$a> and C<$b> set to the first
-two elements of the list, subsequent calls will be done by
-setting C<$a> to the result of the previous call and C<$b> to the next
-element in the list.
+Reduces LIST by calling BLOCK, in a scalar context, multiple times,
+setting C<$a> and C<$b> each time. The first call will be with C<$a>
+and C<$b> set to the first two elements of the list, subsequent
+calls will be done by setting C<$a> to the result of the previous
+call and C<$b> to the next element in the list.
Returns the result of the last call to BLOCK. If LIST is empty then
C<undef> is returned. If LIST only contains one element then that
sub false { scalar grep { !$_ } @_ }
+=head1 SEE ALSO
+
+L<Scalar::Util>, L<List::MoreUtils>
+
=head1 COPYRIGHT
-Copyright (c) 1997-2005 Graham Barr <gbarr@pobox.com>. All rights reserved.
+Copyright (c) 1997-2006 Graham Barr <gbarr@pobox.com>. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
# Scalar::Util.pm
#
-# Copyright (c) 1997-2005 Graham Barr <gbarr@pobox.com>. All rights reserved.
+# Copyright (c) 1997-2006 Graham Barr <gbarr@pobox.com>. All rights reserved.
# This program is free software; you can redistribute it and/or
# modify it under the same terms as Perl itself.
@ISA = qw(Exporter);
@EXPORT_OK = qw(blessed dualvar reftype weaken isweak tainted readonly openhandle refaddr isvstring looks_like_number set_prototype);
-$VERSION = "1.18";
+$VERSION = "1.19";
$VERSION = eval $VERSION;
sub export_fail {
There is a bug in perl5.6.0 with UV's that are >= 1<<31. This will
show up as tests 8 and 9 of dualvar.t failing
+=head1 SEE ALSO
+
+L<List::Util>
+
=head1 COPYRIGHT
-Copyright (c) 1997-2005 Graham Barr <gbarr@pobox.com>. All rights reserved.
+Copyright (c) 1997-2006 Graham Barr <gbarr@pobox.com>. All rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
POPSTACK; \
CATCH_SET(multicall_oldcatch); \
LEAVE; \
- SPAGAIN; \
} STMT_END
#endif