WWW::WolframAlpha::Info
version 1.10
foreach my $info (@{$pod->infos->info}) { print " text: ", $info->text, "\n" if $info->text; foreach my $link (@{$info->link}) { ... } if ($info->units->count) { foreach my $unit (@{$info->units->unit}) { ... } } }
$infos->text
$infos->link - array of WWW::WolframAlpha::Link elements
$infos->units - WWW::WolframAlpha::Units object
None by default.
WWW::WolframAlpha::Info - Perl object returned via $wa->infos->info
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.