Hello team,
 
Please help me on the following code. The code is supposed to receive to
words "cool" and "cash" plus a number from 0 to 10, with optional spaces
between the words.
 
When I run the program it gives me this error > "Can't find unicode
character property definition via main->a or a.pl at Unicode"
 
 
Use dbi;
 
$dsn= "dbi:mysql:db_coolcash:localhost";
my $user= "mysql";
my $password = "mysql123";
$dbh = DBI->connect($dsn,$user,$password);
 
##################################GET ARGS ##########################
$msg = $ARGV[1];
$source = $ARGV[0];
 
if (($msg =~ /cool\s\cash\s*1/i) && ($msg !~ /cool\s\cash\s*1\d/i))
{
 $vote = cool cash 1';
 $found = 1;
}
 
 
Kind Regards,
 
 

Reply via email to