in reply to Re^3: SQL Query Error
in thread SQL Query Error

Well, try the code below. If %bar were being interpolated as a hash, it would produce an error. Hash values are interpolated, but not entire hashes, at least not in strings that look like these.
#!/usr/bin/perl -w use strict; my $str = "this has %bar that looks like a hash"; print $str;