Net::WolframAlpha::Assumption - Perl objects returned via $(?:validate|)query->assumption->assumption
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 Net::WolframAlpha::AssumptionValue elements
None by default.
Net::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.
To install Net::WolframAlpha, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::WolframAlpha
CPAN shell
perl -MCPAN -e shell install Net::WolframAlpha
For more information on module installation, please visit the detailed CPAN module installation guide.