Help for this page

Select Code to Download


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