SMS::Send::TW::PChome - SMS::Send driver for sms.pchome.com.tw
use SMS::Send; my $sender = SMS::Send->new('TW::PChome', _username => 'UserName', _password => 'Password', _authcode => 'AuthCode', ); my $sent = $sender->send_sms( text => 'My very urgent message', to => '0912345678', );
SMS::Send::TW::PChome is a SMS::Send driver which allows you to send messages through http://sms.pchome.com.tw/.
The new method takes a few parameters. _username , _password , and _authcode are mandatory. See WWW::Mechanize for details on these parameters.
new
_username
_password
_authcode
Takes to as recipient phonenumber, and text as the text that's supposed to be delivered.
to
text
Send::SMS
WWW::Mechanize
Please report any bugs to http://rt.cpan.org/Ticket/Create.html?Queue=Send-SMS-TW-PChome
Tsung-Han Yeh, <snowfly@yuntech.edu.tw>
Copyright (C) 2007 by Tsung-Han Yeh
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.
To install SMS::Send::TW::PChome, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SMS::Send::TW::PChome
CPAN shell
perl -MCPAN -e shell install SMS::Send::TW::PChome
For more information on module installation, please visit the detailed CPAN module installation guide.