GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  WWW::GOOGLE::CALCULATOR (3)

.ds Aq ’

NAME

WWW::Google::Calculator - Perl interface for Google calculator

CONTENTS

SYNOPSIS



    use WWW::Google::Calculator;
   
    my $calc = WWW::Google::Calculator->new;
   
    print $calc->calc(1+1); # => 1 + 1 = 2
    print $calc->calc(300kbps in KB/s); # => 300 kbps = 37.5 kilobytes / second



DESCRIPTION

This module provide simple interface for Google calculator.

SEE ALSO

http://www.google.com/help/calculator.html

METHODS

    new

create new instance

calc( CW$query )

calculate $query using by Google and return result.

return undef when something error occurred. (and use $self->error to get last error message)

    parse_html

    error

return last error

AUTHOR

Daisuke Murase <typester@cpan.org>

COPYRIGHT

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

The full text of the license can be found in the LICENSE file included with this module.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 WWW::GOOGLE::CALCULATOR (3) 2010-12-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.