beckheng's Journal
http://use.perl.org/~beckheng/journal/
beckheng's use Perl Journalen-ususe Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners.2012-01-25T02:46:33+00:00pudgepudge@perl.orgTechnologyhourly11970-01-01T00:00+00:00beckheng's Journalhttp://use.perl.org/images/topics/useperl.gif
http://use.perl.org/~beckheng/journal/
用GMS MODEM发短消息到小灵&#36890
http://use.perl.org/~beckheng/journal/37620?from=rss
使用PDU格式发送.
PERL模块: Device::Gsm
手机到小灵通的注意事项:
PDU格式,一定要加上短消息服务中心地址
PDU格式注意事项:
1. AT+CMGS的长度,是指不包含SCA的长度.
2. 不包含完整的SCA则直接使用00表示.会使用SIM卡的短消息服务中心
3. +号前缀的号码,代表了是国际号码,没有则表示是国内的.分别用91和81表示
4. 可以接收对方的读取状态beckheng2008-10-08T12:27:53+00:00journalBe careful of using array reference under mod_perl
http://use.perl.org/~beckheng/journal/32516?from=rss
I store some value with an array reference like : <br>
$self->{stash}->{css_files} = ['a.css', 'b.css'];<br>
I append another css file after with <i>push</i> function, so the array expand more and more.
<br> <br>
So I must be avoid to using array reference in config variables.beckheng2007-02-27T08:13:14+00:00journalinstalled pgadmin3 port
http://use.perl.org/~beckheng/journal/32515?from=rss
I just install pgadmin3 port, that is a postgresql admin toolkit.<br>
It depends on the wxGTK.beckheng2007-02-27T04:51:45+00:00journal@hash{@keys} = @values
http://use.perl.org/~beckheng/journal/32499?from=rss
this is equal to<br>
$hash{$keys[0]} = $values[0];<br><nobr> <wbr></nobr>.<br><nobr> <wbr></nobr>.<br><nobr> <wbr></nobr>.<br>
$hash{$keys[n]} = $values[n];beckheng2007-02-25T14:29:20+00:00journal