sub sql_quote { my ($entry) = @_; $entry =~ s/'/''/g; return "'" . $entry . "'"; } #### $st->execute("%$bar");