Hello.
I would like to forward the messages that get recived by this programme and
send them to a different number.
Now how do i do that without sending to the person who sent the message.
Say the number is 26771445566.
Plus how can i make sure that the message is not empty from the sender.
Here
PROTECTED]>
To: "Suvajit Sengupta" <[EMAIL PROTECTED]>
Cc: "K.Moeng" <[EMAIL PROTECTED]>; "beginners perl"
Sent: Wednesday, October 19, 2005 2:45 PM
Subject: Re: white space between roam and act
> On Oct 19, Suvajit Sengupta said:
>
> > To ig
Hello again folks.
It now works- I had to put the characters inside " " during the query.
i have used
if ($msg =~ /roam\s*act/i)
therefore i will run c:\perl\bin->perl activate.pl "roam(space) act"
Thanks all for your help
especially
Beau E. Cox
Elie De Brauwer
- Original Message
Hello again,
I have rephrased my question from yesterday,
I want to be able to ignore the white space in between ROAM and ACT
that is return the query as ROAM ACT without falling to the else statement.
$msg = $ARGV[0];
$msg =~ s/\"/' /ig;
$found = 0;
if ($msg =~ /roam act/i)
{
$name = 'ACTiv
gt; - Original Message -
> From: "Xavier Noria" <[EMAIL PROTECTED]>
> To: "beginners perl"
> Sent: Tuesday, October 18, 2005 6:21 PM
> Subject: Re: Matchin 2 strings
>
>
> > On Oct 18, 2005, at 18:13, K.Moeng wrote:
> >
> > > Here
hello.
Here is my problem. i am unable to return the 2 strings as true. it false back
to the else statement.
use lib '/usr/lib/perl5';
use POSIX qw(strftime);
GET ARGS ##
$source = $ARGV[0];
$msg = $ARGV[1];
$msg =~ s/\"/' /ig;#$msg =~ s/"/' /i
hello.
Here is my problem. i am unable to return the 2 strings as true. it false back
to the else statement.
use lib '/usr/lib/perl5';
use POSIX qw(strftime);
GET ARGS ##
$source = $ARGV[0];
$msg = $ARGV[1];
$msg =~ s/\"/' /ig;#$msg =~ s/"/' /
hello,
If i am running perl and i want to qury the Msql Database records how do that
from perl.
HERE ARE CLUES:
DATABASE NAME: DOOM
TABLE NAME: T_MAIN
RECORDS:VOTE & VOTES
RECORD TO QUERY:VOTES
PROCEDURE: WHERE A VALUE UNDER VOTE