Leser: 1
8 Einträge, 1 Seite |
$_->{value} =~ /[A-Z\(\)]*/ixms
1 2 3 4 5 6 7 8 9 10 11
my $sql_formed_values = join ',', map { if($_->{value} =~ /`[\w]*`\s*[\+|-]\s*[\d]+/xms || # sql algebra $_->{value} =~ /[A-Z\]*/xms) { #sql command qq{`$_->{name}` = $_->{value}} } else { qq{`$_->{name}` = '$_->{value}'} } } @value_array;
1 2 3 4
# name => value timestamp => 'NOW()', filename => '1:cat.js#1', hash => '7a3aa47569e0a5dc78b9bcbc29ad08dc650eb7ed',
`hash` = 7a3aa47569e0a5dc78b9bcbc29ad08dc650eb7ed,`timestamp` = NOW(),`filename` = 1:cat.js#1
^[A-Z]*[()]*$
8 Einträge, 1 Seite |