WWW::WolframAlpha::Unit
version 1.10
foreach my $unit (@{$info->units->unit}) { print " unit: ", $unit->short, "\n"; print " long: ", $unit->long, "\n"; }
$unit->short
$unit->long
None by default.
WWW::WolframAlpha::Unit - Perl objects returned via $info->units->unit
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.