in reply to $variables when retrieving cgi params
Variables aren't expanded in single-quoted strings. You want:
-- <http://www.dave.org.uk>
"The first rule of Perl club is you do not talk about Perl club." -- Chip Salzenberg