in reply to Temporary string substitution

Good pointers on the DBI module... that is probably the best approach within a SQL context. I wasn't originally thinking along those lines because I am looking for a more generic solution, beyond just SQL statements.

So, given a scalar, is there a simple way to access a regex substitution on it without changing its value and without requiring the use of a temporary variable?

PCS