$dbh->SELECT(':$name, :$email, :$duration(from - to) FROM table WHERE duration > $min_duration' { say "$name <$email> has spent $duration days here"; }