Author image Richard Soderberg

NAME

List::Util::Superpositions - Provides 'any' and 'all' for lists

Version

Version 1.0

Synopsis

This module extends the methods provided by List::Util to offer the any() and all() operators from Quantum::Superpositions as part of the List::Util feature set.

    use List::Util::Superpositions;

    my $foo = List::Util::Superpositions->new();
    ...

Exports & Inheritances

Quantum::Superpositions

  • any

  • all

List::Util

  • first

  • max

  • maxstr

  • min

  • minstr

  • reduce

  • shuffle

  • sum

Author

Richard Soderberg, <RSOD@cpan.org>

Story

It seemed handy to link Quantum::Superpositions into List::Util, after a discussion in IRC triggered the thought. I'm reasonably sure I didn't cover all the possible List::Util exports, and there's got to be a more generic way to do it -- perhaps using @EXPORT_OK.

Bugs

Please report any bugs or feature requests to bug-List-Util-Superpositions@rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Copyright & License

Copyright 2004 Richard Soderberg, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.