in reply to Style: Passing the same value for multiple DBI placeholders

The issue I ran into is that I need to use the $message -> {'userid'} value more than once. The existing usage I've detailed looks wrong to me and I'm wondering if any of you have suggestions for either easing my mind ...

You're plugging multiple values in to satisfy placeholders in a query, and some of the values happen to be the same. There's nothing at all wrong with that.

My advice is to repeat "there's nothing wrong here" seven times, and then move on to something else, like double-checking your query. We all go through phases where something normal looks wrong until we look at it long/hard enough.