[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help about sending with Gnokii::GSM please
From: |
Angelo Gelmi [Web3king] |
Subject: |
Help about sending with Gnokii::GSM please |
Date: |
Sat, 12 Oct 2002 14:12:32 +0200 |
Salve gnokii-users,
#!/usr/bin/perl
use Gnokii::GSM;
$gsm = Gnokii::GSM->new("/dev/ttyS0","5110");
$stato_fs="Ciao";
$numero_mittente="3290578222";
$gsm->{'Msg'}->{'MessageText'} ="$stato_fs";
$gsm->{'Msg'}->{'MessageCenter'} ="393205858500";
$gsm->{'Msg'}->{'Destination'} ="$numero_mittente";
$gsm->SendSMSMessage{$Msg};
Returns me:
Can't use subscript on subroutine entry at ./invia1.pl line 12, near "$Msg}"
(Did you mean $ or @ instead of &?)
Execution of ./invia1.pl aborted due to compilation errors.
All other functions works fine...
Who can help me please?
--
€€=======€====€====€====€=€§€=€====€====€====€=======€€
Angelo Gelmi
email: address@hidden
URL: http://www.web3king.com/
Linux's registered user nr. #203747
€€=======€====€====€====€=€§€=€====€====€====€=======€€
- Help about sending with Gnokii::GSM please,
Angelo Gelmi [Web3king] <=