NAME
Net::SMS::160By2 - Send SMS using your 160By2 account!
VERSION
Version 0.03
SYNOPSIS
This module provides a wrapper around 160By2.com to send an SMS to any mobile number in
India, Kuwait, UAE, Saudi, Singapore, Philippines & Malaysia at present.
you can use this as follows.
use Net::SMS::160By2;
my $obj = Net::SMS::160By2->new($username, $password);
$obj->send_sms($msg, $to);
# send additional params will print WWW::Mechanize detailed request and
# responses
my $debug_obj = Net::SMS::160By2->new($username, $password, {debug => 1});
$debug_obj->send_sms($msg, $to);
Thats it!
SUBROUTINES/METHODS
new
This is constructor method.
input: username, password
A new object will be created with username, password attributes.
You can send additional params in a hash ref as 3rd parameter.
at present only debug option is handled in additional params.
output: Net::SMS::160By2 object
send_sms
This method is used to send an SMS to any mobile number. input : message, to
where message contains the information you want to send. to is the recipient mobile number
AUTHOR
Mohan Prasad Gutta, <mohanprasadgutta at gmail.com>
BUGS
Please report any bugs or feature requests to bug-net-sms-160by2 at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-SMS-160By2. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Net::SMS::160By2
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2010 Mohan Prasad Gutta.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.