Language::Prolog::Types::overload - nice formating for Prolog terms.
use Language::Prolog::Types::overload;
This module activates overloading features for Prolog terms.
When this module is loaded, Prolog terms are automatically converted to strings when printed or concatenated.
When used in bool context, all terms but variables return true, even the nil term.
In numerical context, functors return its arity and lists its length.
None by default.
Language::Prolog::Types and Language::Prolog::Types::Abstract
Salvador Fandiño, <sfandino@yahoo.com>
Copyright 2002 by Salvador Fandiño
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Fandiño,'. Assuming CP1252
To install Language::Prolog::Types, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Prolog::Types
CPAN shell
perl -MCPAN -e shell install Language::Prolog::Types
For more information on module installation, please visit the detailed CPAN module installation guide.