PDL::Logical
version 0.004_001
use PDL::Logical (); # below does what you mean, while pdl([true, false]) does not use boolean; my $logical = PDL::Logical->new([ true, false ]);
This class represents piddle of logical values. It provides a way to treat data as booleans and convert them to piddles.
PDL
Zakariyya Mughal <zmughal@cpan.org>
Stephan Loyd <sloyd@cpan.org>
This software is copyright (c) 2014, 2019 by Zakariyya Mughal, Stephan Loyd.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alt::Data::Frame::ButMore, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alt::Data::Frame::ButMore
CPAN shell
perl -MCPAN -e shell install Alt::Data::Frame::ButMore
For more information on module installation, please visit the detailed CPAN module installation guide.