WWW::WolframAlpha::ValidateQuery
version 1.10
my $validatequery = $wa->validatequery( input => $input, assumption => '*C.pi-_*Movie-', );
if ($validatequery->success) { ... }
$validatequery->success - 0/1, tells whether it was successful or not
$validatequery->error - 0 or WWW::WolframAlpha::Error, tells whether there was an error or not
$validatequery->timing
$validatequery->parsetiming
$query->assumptions - WWW::WolframAlpha::Assumptions object
$query->warnings - WWW::WolframAlpha::Warnings object
$validatequery->xml - raw XML
$validatequery->xmlo - raw XML::Simple object
WWW::WolframAlpha::ValidateQuery - Perl object returned via $wa->validatequery
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.