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


Version 1.2


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


  • any

  • all


  • first

  • max

  • maxstr

  • min

  • minstr

  • reduce

  • shuffle

  • sum


Richard Soderberg, <>


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.


Please report any bugs or feature requests to, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Copyright & License

Copyright 2004, 2008 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.