WWW::WolframAlpha::Assumption
version 1.10
foreach my $assumption (@{$query->assumptions->assumption}) { print "\n type: ", $assumption->type, "\n"; print " word: ", $assumption->word, "\n" if $assumption->word; foreach my $value (@{$assumption->value}) { ... } }
$assumption->type
$assumption->word
$assumption->value - array of WWW::WolframAlpha::AssumptionValue elements
None by default.
WWW::WolframAlpha::Assumption - Perl objects returned via $(?:validate|)query->assumption->assumption
WWW::WolframAlpha
Gabriel Weinberg, <yegg@alum.mit.edu>
Copyright (C) 2009 by Gabriel Weinberg
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
Gabriel Weinberg <yegg@alum.mit.edu>
This software is copyright (c) 2009 by Gabriel Weinberg.
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 WWW::WolframAlpha, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::WolframAlpha
CPAN shell
perl -MCPAN -e shell install WWW::WolframAlpha
For more information on module installation, please visit the detailed CPAN module installation guide.