- or download this
"\$.$row->{name}"
- or download this
my $x = 'sent';
print "\$.${x}ence";
# output: $.sentence
- or download this
"\$.${\$row->{name}}ence"
- or download this
sprintf("\%.%s", $row->{name});
- or download this
my $row = {name => 'sent'};
my $thing = sprintf("\$.%sence", $row->{name});
# output: $.sentence
- or download this
my $something_query = qq{
SELECT COUNT(*) FROM Person
WHERE Account_idAccount = ?
AND JSON_EXISTS(custom, ?)
};
- or download this
my @array = $dbh->selectrow_array(
$something_query,
...
$row->{name}
)
);