Skip to content

Commit

Permalink
Add Scalar-List-Utils 1.02, from Graham Barr.
Browse files Browse the repository at this point in the history
Now we have blessed, reftype, tainted, first, reduce, ...

p4raw-id: //depot/perl@9702
  • Loading branch information
jhi committed Apr 15, 2001
1 parent b331eff commit f4a2945
Show file tree
Hide file tree
Showing 20 changed files with 1,443 additions and 0 deletions.
19 changes: 19 additions & 0 deletions MANIFEST
@@ -1,3 +1,22 @@
ext/List/Util/ChangeLog Util extension
ext/List/Util/Makefile.PL Util extension
ext/List/Util/README Util extension
ext/List/Util/Util.xs Util extension
ext/List/Util/lib/List/Util.pm List::Util
ext/List/Util/lib/Scalar/Util.pm Scalar::Util
t/lib/u-blessed.t Scalar::Util
t/lib/u-dualvar.t Scalar::Util
t/lib/u-first.t List::Util
t/lib/u-max.t List::Util
t/lib/u-maxstr.t List::Util
t/lib/u-min.t List::Util
t/lib/u-minstr.t List::Util
t/lib/u-readonly.t Scalar::Util
t/lib/u-reduce.t List::Util
t/lib/u-reftype.t Scalar::Util
t/lib/u-sum.t List::Util
t/lib/u-tainted.t Scalar::Util
t/lib/u-weak.t Scalar::Util
AUTHORS Contact info for contributors
Artistic The "Artistic License"
Changes Differences from previous version
Expand Down
85 changes: 85 additions & 0 deletions ext/List/Util/ChangeLog
@@ -0,0 +1,85 @@
Change 482 on 2000/04/10 by <gbarr@pobox.com> (Graham Barr)

Check for SvMAGICAL on argument for reftype and blessed

Change 366 on 2000/03/03 by <gbarr@pobox.com> (Graham Barr)

Release 1.01

Change 365 on 2000/03/03 by <gbarr@pobox.com> (Graham Barr)

- Added auto-detection for a compiler and install the perl version
if not found
- Better perl implemenation of reftype, should be thread-safe now

Change 364 on 2000/03/03 by <gbarr@pobox.com> (Graham Barr)

- Added some examples of simple subs that have been requested
but not added
- Updated copyright dates

Change 344 on 1999/11/10 by <gbarr@pobox.com> (Graham Barr)

- Better testcase for reftype

Change 343 on 1999/11/10 by <gbarr@pobox.com> (Graham Barr)

- Modules are now called List::Util & Scalar::Util
- Supports non-XS install
- perl version of reftype now returns "REF" when it should

Change 311 on 1999/06/01 by <gbarr@pobox.com> (Graham Barr)

Updated README

Change 275 on 1999/03/22 by <gbarr@pobox.com> (Graham Barr)

Removed forall as it is very broken

Change 274 on 1999/03/22 by <gbarr@pobox.com> (Graham Barr)

Added List::Util::forall

Change 273 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)

Added weaken and isweak to Ref::Util

Change 272 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)

Add new .pm files to repository

Change 271 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)

- Split into three packages Ref::Util, List::Util and Scalar::DualVar
- readonly and clock were removed in favor of other modules

Change 270 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)

Rename package

Change 269 on 1999/03/21 by <gbarr@pobox.com> (Graham Barr)

- Added reftype
- improved reduce by not doing a sub call
- reduce now uses $a and $b
- now compiles with 5.005_5x

Change 178 on 1998/07/26 by <gbarr@pobox.com> (Graham Barr)

Modified XS code so it will compile with 5.004 and 5.005

Change 115 on 1998/02/21 by <gbarr@pobox.com> (Graham Barr)

Fri Feb 20 1998 Graham Barr <gbarr@pobox.com>

t/min.t, t/max.t
- Change sor to do a numerical sort

Fri Dec 19 1997 Graham Barr <gbarr@pobox.com>

- Added readonly()

Wed Nov 19 1997 Graham Barr <gbarr@pobox.com>

- Initial release

7 changes: 7 additions & 0 deletions ext/List/Util/Makefile.PL
@@ -0,0 +1,7 @@
use ExtUtils::MakeMaker;

WriteMakefile(
VERSION_FROM => "lib/List/Util.pm",
NAME => "List::Util",
);

31 changes: 31 additions & 0 deletions ext/List/Util/README
@@ -0,0 +1,31 @@
This distribution is a replacement for the builtin distribution.

This package contains a selection of subroutines that people have
expressed would be nice to have in the perl core, but the usage would not
really be high enough to warrant the use of a keyword, and the size so
small such that being individual extensions would be wasteful.

After unpacking the distribution, to install this module type

perl Makefile.PL
make
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

Copyright (c) 1997-2000 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.

0 comments on commit f4a2945

Please sign in to comment.